code: def _iterator(self, plugins, context):
          
  
          test = pyblish.logic.registered_test()
  
          for plug, instance in pyblish.logic.Iterator(plugins, context):
              if not plug.active:
                  continue
  
              if instance is not None and instance.data.get("publish") is False:
                  continue
  
              self.processing["nextOrder"] = plug.order
  
              if not self.is_running:
                  raise StopIteration("Stopped")
  
              if test(**self.processing):
                  raise StopIteration("Stopped due to %s" % test(
                      **self.processing))
  
              yield plug, instance
docs: Yield next plug-in and instance to process.
  
          Arguments:
              plugins (list): Plug-ins to process
              context (pyblish.api.Context): Context to process