public boolean areOnEquivalentHost(InternalDistributedMember member1,InternalDistributedMember member2){
  Set<InetAddress> equivalents1=getEquivalents(member1.getInetAddress());
  return equivalents1.contains(member2.getInetAddress());
}

public boolean areOnEquivalentHost ( InternalDistributedMember member1 , InternalDistributedMember member2 ) { Set < InetAddress > equivalents1 = getEquivalents ( member1 . getInetAddress ( ) ) ; return equivalents1 . contains ( member2 . getInetAddress ( ) ) ; }
returns true if the two members are on the same equivalent host based on overlapping ip addresses collected for all nics during exchange of startup messages .
