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