Platforms to show: All Mac Windows Linux Cross-Platform
Answer:
You can use this function below which uses a regular expression to verify that the string is a valid UUID/GUID:
Simply parsing the GUID with CFUUIDMBS does not give the same result as CFUUIDMBS will also take a string like "DDDD".