__hasAttributeNS__ = function(namednodemap, namespaceURI, localName) {
    var ret = false;
    // test that Named Node exists
    var itemIndex = __findNamedItemNSIndex__(namednodemap, namespaceURI, localName);
    if (itemIndex > -1) {
        // found it!
        ret = true;
    }
    // if node is not found, default value false is returned
    return ret;
}
@method __hasAttributeNS__
     Returns true if specified node exists

@param  namespaceURI : string - the namespace URI of the required node
@param  localName    : string - the local name of the required node
@return : boolean