isLoggedIn method
Checks if client isLoggedIn (same as isSignedIn), maintained because some clients use one and some prefer the other
Implementation
@override
Future<bool> isLoggedIn() async =>
client?.credentials.accessToken != null &&
(client!.credentials.expiration?.isAfter(DateTime.now()) ?? false);