brainstate.has_state_hooks# brainstate.has_state_hooks(hook_type=None)[source]# Check if any global hooks are registered. Parameters: hook_type (str | None) – Optional hook type to check (if None, checks all) Return type: bool