Function GodotObject.isConnected

Returns true if a connection exists for a given signal, target, and method.

bool isConnected (
  const(String) signal,
  GodotObject target,
  const(String) method
) nothrow @nogc const;