public boolean isTagPresent(int tag){
  return fieldIndex.containsKey(new Integer(tag));
}

public boolean isTagPresent ( int tag ) { return fieldIndex . containsKey ( new Integer ( tag ) ) ; }
returns true if a tag appears in the directory .
