Implemented hasSameMembers