Has Hooks • AI Agent SDK
has_hooks: Check if there are any hooks registered for an event.
has_hooks
Method
</div>
This is a method of the HookRegistry class in the registry module.
Check if there are any hooks registered for an event.
Signature
def has_hooks(event: HookEvent) -> boolParameters
ParamField
HookEventNo description available.
Returns
ResponseField
boolThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/hooks/registry.py at line 279