> ## 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 Enabled • AI Agents Framework

> is_enabled: Check if profiling is enabled.

# is\_enabled

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

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

Check if profiling is enabled.

## Signature

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

### Returns

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

## Uses

* `is_enabled`
* `get_profiler`

## Used By

* [`ProfilerCompat.is_enabled`](../functions/ProfilerCompat-is_enabled)
* [`profile`](../functions/profile)
* [`profile_async`](../functions/profile_async)
* [`profile_api`](../functions/profile_api)
* [`profile_api_async`](../functions/profile_api_async)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L800">
  `praisonai/profiler.py` at line 800
</Card>
