> ## 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 Path Like • AI Agent SDK

> is_path_like: Check if a string looks like a file path. O(1) operation.

# is\_path\_like

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**parse\_utils**](../modules/parse_utils) module.

Check if a string looks like a file path. O(1) operation.

## Signature

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

## Parameters

<ParamField query="value" type="str" required={true}>
  String to check
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if string looks like a path
</ResponseField>

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
>>> is_path_like("docs/")
    True
    >>> is_path_like("./data.pdf")
    True
    >>> is_path_like("verbose")
    False
```

## Uses

* `value.rsplit`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/config/parse_utils.py#L89">
  `praisonaiagents/config/parse_utils.py` at line 89
</Card>
