Checks if the given string is a valid UUID (Universally Unique Identifier).
The string to validate.
The UUID version to check against (1, 2, 3, 4, 5, 'all', null, or undefined). Defaults to 'all'.
True if the string is a valid UUID, false otherwise.
Checks if the given string is a valid UUID (Universally Unique Identifier).