brainstate.clear_state_hooks# brainstate.clear_state_hooks(hook_type=None)[source]# Clear all global hooks, optionally filtered by type. Parameters: hook_type (str | None) – Optional hook type to clear (if None, clears all) Return type: None