def continue_learning(self, model):
        """
        .. todo::

            WRITEME
        """
        if self.termination_criterion is None:
            return True
        else:
            rval = self.termination_criterion.continue_learning(self.model)
            assert rval in [True, False, 0, 1]
            return rval
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/training_algorithms/bgd.py/BGD.continue_learning/original