function isQuestion(token) {
  return token != null && token.type === 'Punctuator' && token.value === '?'
}
Check whether the given token is a question.
@param {Token|undefined|null} token The token to check.
@returns {boolean} `true` if the token is a question.