> ## 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.

# Should Deescalate • AI Agent SDK

> should_deescalate: Check if de-escalation is appropriate.

# should\_deescalate

Method

> This is a method of the [**StageContext**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/StageContext.md) class in the [**types**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/types.md) module.

Check if de-escalation is appropriate.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def should_deescalate(config: EscalationConfig) -> bool
```

## Parameters

**config** `EscalationConfig` *required*

No description available.

### Returns

**Returns** `bool`

The result of the operation.

## Used By

* [`EscalationPipeline.execute_at_stage`](../functions/EscalationPipeline-execute_at_stage)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/escalation/types.py#L212)
>
> `praisonaiagents/escalation/types.py` at line 212


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.