Once the `isReadOnly` field is removed, change this method to 

    return this.cache.isReadOnly();