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

# Has Pending Messages • AI Agent SDK

> has_pending_messages: Check if there are pending steering messages.

# has\_pending\_messages

Method

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

Check if there are pending steering messages.

## Signature

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

### Returns

**Returns** `bool`

True if messages are pending, False otherwise

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/protocols.py#L527)
>
> `praisonaiagents/agent/protocols.py` at line 527


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