Added actual uuid validation to isUuidValid: