public boolean checkCommunity(String community){
  for (Enumeration<AclEntry> e=entryList.elements(); e.hasMoreElements(); ) {
    AclEntryImpl ent=(AclEntryImpl)e.nextElement();
    if (ent.checkCommunity(community))     return true;
  }
  return false;
}

public boolean checkCommunity ( String community ) { for ( Enumeration < AclEntry > e = entryList . elements ( ) ; e . hasMoreElements ( ) ; ) { AclEntryImpl ent = ( AclEntryImpl ) e . nextElement ( ) ; if ( ent . checkCommunity ( community ) ) return true ; } return false ; }
checks whether or not the specified community string is defined .
