> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# hasFunction

> Check whether a SWAIG function with the given name is registered.

Check whether a SWAIG function with the given name is registered on this
service. Parity accessor matching Python's `ToolRegistry.has_function`.

## **Parameters**

The function name to check.

## **Returns**

`boolean` -- `true` when a function with that name is registered.