Checks whether a given key exists in the storage.
key
Returns true if the key exists, otherwise false.
true
false
Future<bool> contains(dynamic key);