'Decides whether it is time to stop training
Parameters
msg : str
Message passed in for verbose output
verbose : bool
Print message to stdin if True
Returns
is_stopping : bool
True if training needs to stop'

def trigger_stopping(self, msg, verbose):

    if verbose:
        print (msg + '    Stopping.')
    return True
