> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Is Blocked • AI Agent SDK

> is_blocked: Check if any hook blocked execution.

# is\_blocked

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**HookRunner**](../classes/HookRunner) class in the [**runner**](../modules/runner) module.

Check if any hook blocked execution.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def is_blocked(results: List[HookExecutionResult]) -> bool
```

## Parameters

<ParamField query="results" type="List" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  The result of the operation.
</ResponseField>

## Uses

* `is_denied`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/hooks/runner.py#L439">
  `praisonaiagents/hooks/runner.py` at line 439
</Card>
