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

> is_connected: Whether the client is currently connected.

# is\_connected

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

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

Whether the client is currently connected.

## Signature

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

### Returns

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