def modelControlFinishLearningCb(model):
 model.finishLearning()
 return

def modelControlFinishLearningCb ( model ) : model . finishLearning ( ) return
passes the "finish learning" command to the model .