private boolean isFromDeprecatedContainer(IndexEntry copyCandidate) {
    IndexValue copyCandidateValue = copyCandidate.getValue();
    boolean isFromDeprecatedContainer = false;
    if (deprecatedContainers.contains(
        new Pair<>(copyCandidateValue.getAccountId(), copyCandidateValue.getContainerId()))) {
      logger.trace("{} in store {} is from deprecated container.", copyCandidate, storeId);
      isFromDeprecatedContainer = true;
    }
    return isFromDeprecatedContainer;
  }
Determines if {@code copyCandidate} container in the status of DELETED_IN_PROGRESS or INACTIVE.
@param copyCandidate the {@link IndexEntry} to check
ambry-store/src/main/java/com/github/ambry/store/BlobStoreCompactor.java