> ## 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 [**Profiler**](../classes/Profiler) 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>

## Used By

* [`Profiler.record_timing`](../functions/Profiler-record_timing)
* [`Profiler.record_import`](../functions/Profiler-record_import)
* [`Profiler.record_flow`](../functions/Profiler-record_flow)
* [`Profiler.record_api_call`](../functions/Profiler-record_api_call)
* [`Profiler.record_streaming`](../functions/Profiler-record_streaming)

## Source

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