code: def notify(self, message):
          
          if self.complete:
              return HerokuLocalWrapper.MONITOR_STOP
          return super(DebugDeployment, self).notify(message)
docs: Monitor output from heroku process.
  
          This overrides the base class's `notify`
          to make sure that we stop if the status-monitoring thread
          has determined that the experiment is complete.