@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeByteArray(membershipID, out);
    out.writeLong(threadID);
  }
checks to see if the membership id of this identifier is the same as in the argument

@return whether the two IDs are from the same member
geode-core/src/main/java/org/apache/geode/internal/cache/ha/ThreadIdentifier.java