Added: method hasAttribute: in CNXMLElement