public boolean hasPersistedData() {
    return getPersistentOplogs().getChild() != null;
  }
Validates the disk-store in offline mode, and returns the validated DiskStore instance.

@param name Disk store name.
@param dirs Directories of the disk-store to validate.
@return The validted {@link DiskStore}.
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java