Function GodotObject.hasUserSignal

Returns true if the given user-defined signal exists.

bool hasUserSignal (
  const(String) signal
) nothrow @nogc const;