# is_uuid

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/runnables/graph/is_uuid)

Check if a string is a valid UUID.

## Signature

```python
is_uuid(
    value: str,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `value` | `str` | Yes | The string to check. |

## Returns

`bool`

`True` if the string is a valid UUID, `False` otherwise.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/c197a7b6f757860df429aefb8e8a40a60d75987f/libs/core/langchain_core/runnables/graph.py#L49)