bool hasAttributeNS(Element element, String ns, String attribute) Source bool hasAttributeNS(Element element, String ns, String attribute) => element.getAttributeNS(ns, attribute) != null;