public boolean isDeclaredEntity(String entityName){
  Entity entity=(Entity)fEntities.get(entityName);
  return entity != null;
}

public boolean isDeclaredEntity ( String entityName ) { Entity entity = ( Entity ) fEntities . get ( entityName ) ; return entity != null ; }
checks whether an entity given by name is declared .
