uuid.is_valid

BOOLuuid.is_validSTRINGuuid

Available in all subroutines.

Returns true if string holds a textual representation of a valid UUID (per RFC 4122). Returns false otherwise.

Example

if (uuid.is_valid(req.http.X-Unique-Id)) {
set beresp.http.X-Unique-Id-Valid = "yes";
}