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

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

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

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

## Signature

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

### Returns

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

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/config.py#L647">
  `praisonaiagents/gateway/config.py` at line 647
</Card>
