profile_element_allowed
profile_element_allowed(alias, tagname[, doc])
Returns 1 if the specified element can be profiled using the specified profile. Returns 0 if the element cannot be profiled, or if the specified element or profile is invalid.
• alias — The alias of the profile to be applied.
• tagname — The element to be profiled.
• doc — Optional. The identifier of the document tree. If doc is omitted or is 0, the current document is used.