code: boolean foundGroupFormat(Map<String,?> map, String elementFormat) {
          if (map.containsKey(elementFormat)) {
              initMessages();
              messages.error("doclet.Same_element_name_used", elementFormat);
              return true;
          }
          return false;
      }
docs: Search if the given map has the given element format.
  
  @param map Map to be searched.
  @param elementFormat The format to search.
  
  @return true if element name format found in the map, else false.