def validate_uuid(to_validate, message): SoftAssert.is_regex(to_validate, '[0-9,a-f,A-F]{8}-[0-9,a-f,A-F]{4}-[0-9,a-f,A-F]{4}-[0-9,a-f,A-F]{4}-[0-9,a-f,A-F]{12}', message)
def validate_host_name(to_validate, message): SoftAssert.is_regex(to_validate, "^[a-zA-Z][a-zA-Z0-9]*$", message)
def validate_product_id(to_validate, message): SoftAssert.is_regex(to_validate, '[0-9]{5}-[0-9,O][0-9,E][0-9,M]-[0-9]{7}-[0-9]{5}', message)