Documentation
parse_uuid_or_none()
Check if the given string is a valid UUID, if yes, return the UUID object, otherwise return None.