Validates token format
token The token to validate Returns true if token format is valid
token
bool isValidTokenFormat(String token);