static bool tokenIsValid(Token? token) { return token != null && !Token.isExpired(token) && token.accessToken != null; }