code: function shouldPolyfill(importName, name, path) {
      let result;
      if (Array.isArray(importName)) {
          result = importName.some(item => (item === name));
      }
      else {
          result = importName === name;
      }
  
      // ignore global variable, e.g., Array/Number/Promise etc.
      return result && !path.scope.hasBinding(name, true);
  }
docs: Check given the variable name whether need to polyfill
  
  @inner
  @param {string} importName the variable name to polyfill
  @param {string} name current variable name
  @param {Object} path the node path
  @return {boolean}