How can I write code for the following condition as a callback function using python in keras: validation_accuracy >=70 and validation_accuracy>train_accuracy