Check if cache is writeable.