Is Blocked • AI Agent SDK

is_blocked: Check if any hook blocked execution.

is_blocked

Method

</div>

This is a method of the HookRunner class in the runner module.

Check if any hook blocked execution.

Signature

python
def is_blocked(results: List[HookExecutionResult]) -> bool

Parameters

ParamField List[HookExecutionResult]

No description available.

Returns

ResponseField bool

The result of the operation.

Uses

  • is_denied

Source

View on GitHub

praisonaiagents/hooks/runner.py at line 619