profile_valid
profile_valid (alias[, doc])
Returns 1 if the specified alias is a valid profile. Otherwise, profile_valid returns 0.
• alias — The profile to be evaluated.
• doc — Optional. The identifier of the document tree. If doc is omitted or is 0, the current document is used.