(PHP 5, PHP 7, PHP 8)
DOMNode::hasAttributes — Vérifie si le nœud possède un attribut
   Cette méthode vérifie si un nœud possède des attributs. Le nœud testé doit être
   un XML_ELEMENT_NODE.
  
Cette fonction ne contient aucun paramètre.
   Cette fonction retourne true en cas de succès ou false si une erreur survient.