public boolean isPOEExists(final String id,final Date controlTime){
  List<Date> dates=poe.get(id);
  if (dates != null) {
    for (    Date date : dates) {
      if (date.compareTo(controlTime) < 0) {
        return true;
      }
    }
  }
  return false;
}

public boolean isPOEExists ( final String id , final Date controlTime ) { List < Date > dates = poe . get ( id ) ; if ( dates != null ) { for ( Date date : dates ) { if ( date . compareTo ( controlTime ) < 0 ) { return true ; } } } return false ; }
returns true if there is a poe exists for a given id at ( or before ) the control time .
