whole_func_string: function hasBabelDepPlugin(plugins) {
      return plugins.some(item => {
          let pluginItem = item;
          if (Array.isArray(item)) {
              pluginItem = item[0];
          }
  
          if (typeof pluginItem === 'string') {
              return pluginItem === DEP_PLUGIN_NAME;
          }
  
          return pluginItem === programPlugins.resolveDep;
      });
  }
func_code_string: function hasBabelDepPlugin(plugins) {
      return plugins.some(item => {
          let pluginItem = item;
          if (Array.isArray(item)) {
              pluginItem = item[0];
          }
  
          if (typeof pluginItem === 'string') {
              return pluginItem === DEP_PLUGIN_NAME;
          }
  
          return pluginItem === programPlugins.resolveDep;
      });
  }
func_documentation_string: Check whether has babel dep resolve plugin in the given plugin list
  
  @inner
  @param {Array} plugins the plugin list
  @return {boolean}