function isUndefinedCheck(identifierNode, parents) {
  const parentExpression =
    /** @type {import('@babel/types').UnaryExpression} */ (
      parents[parents.length - 2]
    )
  const isTypeof =
    parentExpression.type === 'UnaryExpression' ||
    parentExpression.operator === 'typeof'
  return isTypeof
}
@param {import('@babel/types').LVal} identifierNode
@param {import('@babel/types').Node[]} parents
@returns {boolean}