This method checks if the node has attributes. The tested node have to be an XML_ELEMENT_NODE.
Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.