> ## 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 Command • Rust AI Agent SDK

> is_command: Check if message is a command.

# is\_command

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

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

Check if message is a command.

## Signature

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

### Returns

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust CLI" icon="terminal" href="/docs/rust/cli" />
</CardGroup>
