code: private boolean shouldVerifyCompletenessForDataset(Dataset dataset, List<Pattern> blacklist,
      List<Pattern> whitelist) {
      boolean renamingRequired = this.state.getPropAsBoolean(COMPACTION_RENAME_SOURCE_DIR_ENABLED, DEFAULT_COMPACTION_RENAME_SOURCE_DIR_ENABLED);
  
      LOG.info ("Should verify completeness with renaming source dir : " + renamingRequired);
  
      return !datasetAlreadyCompacted(this.fs, dataset, renamingRequired)
          && DatasetFilterUtils.survived(dataset.getName(), blacklist, whitelist);
    }
docs: A {@link Dataset} should be verified if its not already compacted, and it satisfies the blacklist and whitelist.