code: def complete(self):
          
          if self.task.local_workflow_require_branches:
              return self._has_run
          else:
              return super(LocalWorkflowProxy, self).complete()
docs: When *local_workflow_require_branches* of the task was set to *True*, returns whether the
          :py:meth:`run` method has been called before. Otherwise, the call is forwarded to the super
          class.