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

Method

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

Check if profiling is enabled.

## Signature

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

### Returns

**Returns** `bool`

The result of the operation.

## 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] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L800)
>
> `praisonai/profiler.py` at line 800


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