public function hasAttributeNS(string $namespaceURI, string $localName) : bool
    {
        $fullName = '{'.$namespaceURI.'}'.$localName;

        return isset($this->attributes[$fullName]);
    }
public function hasAttributeNS(string $namespaceURI, string $localName) : bool
    {
        $fullName = '{'.$namespaceURI.'}'.$localName;

        return isset($this->attributes[$fullName]);
    }
public function hasAttributeNS ( string $ namespaceURI , string $ localName ) : bool { $ fullName = '{' . $ namespaceURI . '}' . $ localName ; return isset ( $ this -> attributes [ $ fullName ] ) ; }
Check if a namespace-qualified attribute exists.

@param string $namespaceURI The namespace URI.
@param string $localName The local name.
@return bool true if the attribute exists, false if not.
Check if a namespace - qualified attribute exists .