Returns [code]true[/code] if the object contains the given [code]method[/code].
Returns [code]true[/code] if the object contains the given [code]method[/code].
</description>
</description>
</method>
</method>
<methodname="has_signal"qualifiers="const">
<returntype="bool">
</return>
<argumentindex="0"name="signal"type="String">
</argument>
<description>
Returns [code]true[/code] if the given [code]signal[/code] exists.
</description>
</method>
<methodname="has_user_signal"qualifiers="const">
<methodname="has_user_signal"qualifiers="const">
<returntype="bool">
<returntype="bool">
</return>
</return>
<argumentindex="0"name="signal"type="StringName">
<argumentindex="0"name="signal"type="StringName">
</argument>
</argument>
<description>
<description>
Returns [code]true[/code] if the given user-defined [code]signal[/code] exists.
Returns [code]true[/code] if the given user-defined [code]signal[/code] exists. Only signals added using [method add_user_signal] are taken into account.