hasAttribute
Check if an XML element has a specific attribute. See Chapter 22.
element(required): XML UDM elementname(required): attribute name to check
utlx
{
hasId: hasAttribute($input.element, "id"),
hasClass: hasAttribute($input.element, "class")
}