def step_end(self, step, output):
    super(StopAtStep, self).step_end(step, output)
    return (step >= self._last_step)
def step_end(self, step, output):
    super(StopAtStep, self).step_end(step, output)
    return (step >= self._last_step)