code: public boolean hasName(String name, String namespace) {
          return hasName(name) && Objects.equals(this.namespace, namespace);
      }
docs: Test if this XElement has the given name and namespace.
  @param name the name to test against
  @param namespace the namespace to test against
  @return true if the names and namespaces equal