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

# exists • Rust AI Agent SDK

> exists: Check if session exists on disk

# exists

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

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

Check if session exists on disk

## Signature

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

### Returns

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