Function Connection.isRegistered

Is the given statement registered on this connection as a prepared statement?

bool isRegistered(
  SafePrepared prepared
) @safe;

bool isRegistered(
  UnsafePrepared prepared
) @safe;

bool isRegistered(
  const(char[]) sql
) @safe;