Future<bool> containsKey(String key) async { await _ensureInitialized(); final box = _getBoxForKey(key); return box.containsKey(key); }