@Override
  public boolean isFilesExistForPattern(PartitionId partitionId, Pattern pattern) throws IOException {
    List<File> result = this.getDiskManager(partitionId).getFilesForPattern(pattern);
    return (null != result && !result.isEmpty());
  }
Return true is compaction is disabled for the given partition id.
@param id
@return
ambry-store/src/main/java/com/github/ambry/store/StorageManager.java