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

# Owns Path • AI Agent SDK

> owns_path: Return True if ``path`` refers to a file inside this sandbox.

# owns\_path

Method

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

Return True if `path` refers to a file inside this sandbox.

## Signature

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

## Parameters

**path** `str` *required*

No description available.

### Returns

**Returns** `bool`

The result of the operation.

## Source

> **[View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L3216)**
>
> `praisonaiagents/gateway/protocols.py` at line 3216


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