public boolean isExternalEntity(String entityName){
  Entity entity=(Entity)fEntities.get(entityName);
  if (entity == null) {
    return false;
  }
  return entity.isExternal();
}

public boolean isExternalEntity ( String entityName ) { Entity entity = ( Entity ) fEntities . get ( entityName ) ; if ( entity == null ) { return false ; } return entity . isExternal ( ) ; }
checks whether an entity given by name is external .
