[library] Fix #13: Add an isDiskCacheEnabled() method?