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

# enabled • AI Agent SDK

> enabled: Whether a distributed (cross-replica) turn lock is selected.

# enabled

Method

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

Whether a distributed (cross-replica) turn lock is selected.

## Signature

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

### Returns

**Returns** `bool`

The result of the operation.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/config.py#L835)
>
> `praisonaiagents/gateway/config.py` at line 835


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