code: public boolean containsElement(Element element) {
          String deepName = getDeepName(element);
          return elementNameSortOrderMap.containsKey(deepName);
      }
docs: Returns true if element is in the map