private void checkNotClosed() {
    if (journalWriter == null) {
      throw new IllegalStateException("cache is closed");
    }
  }
Returns true if this cache has been closed.
core/src/main/java/com/bumptech/glide/disklrucache/DiskLruCache.java