public Store getStore(PartitionId id, boolean skipStateCheck) {
    DiskManager diskManager = partitionToDiskManager.get(id);
    return diskManager != null ? diskManager.getStore(id, skipStateCheck) : null;
  }
@param id the {@link PartitionId} to find the store for.
@param skipStateCheck whether to skip checking state of the store. if true, it also returns store that is not started yet.
@return the {@link Store} corresponding to the given {@link PartitionId}, or {@code null} if no store was found for
        that partition, or that store was not started.
ambry-store/src/main/java/com/github/ambry/store/StorageManager.java