Skip to main content

has_hooks

Method
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) -> bool

Parameters

event
HookEvent
required
No description available.

Returns

Returns
bool
The result of the operation.