# is_caller_internal

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/_api/internal/is_caller_internal)

Return whether the caller at `depth` of this function is internal.

## Signature

```python
is_caller_internal(
    depth: int = 2,
) -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/1c3a4186cf2ba4f28face59118ac7786de009f91/libs/core/langchain_core/_api/internal.py#L5)