# 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/fb6ab993a73180538f6cca876b3c85d46c08845f/libs/core/langchain_core/runnables/graph.py#L47)