DOMNode->hasAttributes Checks if node has attributes Description boolDOMNode->hasAttributes This function checks if the node has attributes.