Returns true if element has an attribute whose namespace is namespace and local name is localName.
MDN Reference