'Returns True if the algorithm should continue running, or False
if it has reached convergence / started overfitting and should
stop.
Parameters
model : a Model instance'

def continue_learning(self, model):

    if (self.termination_criterion is None):
        return True
    else:
        return self.termination_criterion.continue_learning(self.model)
