code: public boolean contains(final String n, final boolean fwd) {
  	synchronized (this) {
  	    return find_i(n, fwd) != null ? true : false;
  	}
      }
docs: Returns true if the group contains an element named <n>, false otherwise