Function GodotObject.hasMethod

Returns true if the object contains the given method.

bool hasMethod (
  const(String) method
) nothrow @nogc const;