docs: private void verifyMigrationParticipant() {
          Member localMember = getNodeEngine().getLocalMember();
          if (getMigrationParticipantType() == MigrationParticipant.SOURCE) {
              if (migrationInfo.getSourceCurrentReplicaIndex() == 0
                      && !migrationInfo.getSource().isIdentical(localMember)) {
                  throw new IllegalStateException(localMember
                          + " is the migration source but has a different identity! Migration: " + migrationInfo);
              }
              verifyPartitionOwner();
              verifyExistingDestination();
          } else if (getMigrationParticipantType() == MigrationParticipant.DESTINATION) {
              if (!migrationInfo.getDestination().isIdentical(localMember)) {
                  throw new IllegalStateException(localMember
                          + " is the migration destination but has a different identity! Migration: " + migrationInfo);
              }
          }
      }