Tests if there is a service attribute with the specified name attached to the specified element. (See also below: What are Service Attributes?)
In most cases, this function returns the same result as the expression:
getServiceAttr(element, attrName) != null
null
can also be a value of service attributes,
the function provides the only way to know for sure if a service attribute with a particular name
has been associated with a particular element.
Parameters:
element
hasServiceAttr(contextElement, attrName)
attrName
getServiceAttr(), setServiceAttr()
${include ../../../refs/service_attrs.htm}