boolean isAnyLogSegmentExists(@Nonnull PartitionId partitionId) {
      try {
        return storeManager.isFilesExistForPattern(partitionId, allLogSegmentFilesPattern);
      } catch (IOException e) {
        String message = "Failed `isFilesExistForPattern` step for " + partitionId;
        logger.error(message);
        throw new StateTransitionException(message, BootstrapControllerFailure);
      }
    }
TODO: Add context
@param partitionName of the partition.
ambry-store/src/main/java/com/github/ambry/store/BootstrapController.java