Future<bool> isCached() async { await client.accountDataLoading; if (!enabled) { return false; } await client.userDeviceKeysLoading; return (await encryption.ssss.getCached(megolmKey)) != null; }