Returns true if persistent storage the contains the given key.
key
bool containsKey(String key) => _preferenceCache.containsKey(key);