function hasReferenceId(value, setupContext) {
  const { contextReferenceIds, emitReferenceIds } = setupContext
  return (
    value.type === 'Identifier' &&
    (emitReferenceIds.has(value) || contextReferenceIds.has(value))
  )
}
Check if the given node is a reference of setup context
@param {Expression | Super | SpreadElement} value
@param {SetupContext} setupContext
@returns {boolean}