private boolean isValidSideInputStore(String storeName, File storeLocation) {
    return isPersistedStore(storeName)
        && !storageManagerUtil.isStaleStore(storeLocation, STORE_DELETE_RETENTION_MS, clock.currentTimeMillis(), true)
        && storageManagerUtil.isOffsetFileValid(storeLocation, storeToSSps.get(storeName), true);
  }
Gets the side input SSP offsets for all stores from their local offset files.

@return a {@link Map} of {@link SystemStreamPartition} to offset in the offset files.
samza-core/src/main/java/org/apache/samza/storage/TaskSideInputStorageManager.java