fn is_whitespace(token: &Token) -> bool
Helper function to determine if a token is whitespace or newline.
token