public boolean isAssociated(int node,int endpoint){
  int associationCnt=associations.size();
  for (int index=0; index < associationCnt; index++) {
    ZWaveAssociation association=associations.get(index);
    if (association.getNode() == node && association.getEndpoint() == endpoint) {
      return true;
    }
  }
  return false;
}

public boolean isAssociated ( int node , int endpoint ) { int associationCnt = associations . size ( ) ; for ( int index = 0 ; index < associationCnt ; index ++ ) { ZWaveAssociation association = associations . get ( index ) ; if ( association . getNode ( ) == node && association . getEndpoint ( ) == endpoint ) { return true ; } } return false ; }
tests if a node and endpoint are associated to this group
