setUpAndInitializeGuard method
Checks if the user is logged in, persists it, and returns whether the user is logged in.
Implementation
@override
Future<bool> setUpAndInitializeGuard() async {
final isLoggedIn = await _simulateLoginCheck();
await persistenceDelegate!.updateGuardStatus(guardIdentifier, isLoggedIn);
return isLoggedIn;
}