code: func (agent *ecsAgent) verifyCNIPluginsCapabilities() error {
  	// Check if we can get capabilities from each plugin
  	for _, plugin := range awsVPCCNIPlugins {
  		capabilities, err := agent.cniClient.Capabilities(plugin)
  		if err != nil {
  			return err
  		}
  		// appmesh plugin is not needed for awsvpc networking capability
  		if plugin == ecscni.ECSAppMeshPluginName {
  			continue
  		}
  		if !contains(capabilities, ecscni.CapabilityAWSVPCNetworkingMode) {
  			return errors.Errorf("plugin '%s' doesn't support the capability: %s",
  				plugin, ecscni.CapabilityAWSVPCNetworkingMode)
  		}
  	}
  
  	return nil
  }
docs: // verifyCNIPluginsCapabilities returns an error if there's an error querying
  // capabilities or if the required capability is absent from the capabilities
  // of the following plugins:
  // a. ecs-eni
  // b. ecs-bridge
  // c. ecs-ipam
  // d. aws-appmesh