langchain_core.runnables.graph.is_uuid¶

langchain_core.runnables.graph.is_uuid(value: str) bool[source]¶

Check if a string is a valid UUID.

Parameters

value (str) – The string to check.

Returns

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

Return type

bool