# tracing_is_enabled

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/utils/tracing_is_enabled)

Return True if tracing is enabled.

## Signature

```python
tracing_is_enabled(
    ctx: Optional[dict] = None,
) -> Union[bool, Literal['local']]
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/fcda9320ff067c3d3857e9e3d088fc1eb0643fc4/python/langsmith/utils.py#L121)