docs: boolean isStale(long[] newVersions, int replicaIndex) {
          int index = replicaIndex - 1;
          long currentVersion = versions[index];
          long newVersion = newVersions[index];
          return currentVersion > newVersion;
      }