1. @override
Future<bool> has(String key)

Check if a key is stored.

Source

@override
Future<bool> has(String key) async => window.localStorage.containsKey(key);