Checks if the given token is valid or not.
token
Returns a Future that resolves to true if the token is valid, false otherwise.
true
false
Future<bool> validateToken(String token);