Returns true if the the platform contains the given key.
key
Future<bool> containsKey(String key) async { return (await getKeys(allowList: <String>{key})).isNotEmpty; }