code: public boolean has(Element ele) {
          return tmap.containsKey(ele) && !tmap.get(ele).isEmpty();
      }
docs: check the presence of ele in translation map
  @param ele regular expression element
  @return true, in case ele is present in translation map