function isOperator(token) {
    return token.first || token.right || token.left || token.id === "yield" || token.id === "await";
  }
Determine whether a given token is an operator.

@param {token} token

@returns {boolean}