private boolean wasProcessedForCompaction(Offset offset) {
    return segmentsCompactedNames.contains(offset.getName());
  }
@param offset the {@link Offset} to check.
@return {@code true} if the offset was processed in the compaction. {@code false} otherwise
ambry-tools/src/main/java/com/github/ambry/store/CompactionVerifier.java