code: def test_check_early_stop_with_varying_metrics(self):
      stopping_handler = EarlyStopping(Metric("train_acc"), patience=2)
      check_early_stop = stopping_handler.check_early_stop
      self.assertFalse(
          check_early_stop(1, {"valid_loss": 0.35, "train_acc": 0.80})
      )
      self.assertFalse(check_early_stop(1, {"valid_loss": 0.34}))
      self.assertFalse(check_early_stop(1, {"valid_loss": 0.33}))
      self.assertFalse(
          check_early_stop(2, {"valid_loss": 0.35, "train_acc": 0.81})
      )
      self.assertFalse(check_early_stop(2, {"valid_loss": 0.34}))
      self.assertFalse(check_early_stop(2, {"valid_loss": 0.35}))
  
imports: import unittest
  from small_text.training.early_stopping import EarlyStopping, NoopEarlyStopping, EarlyStoppingAndCondition, EarlyStoppingOrCondition
  from small_text.training.metrics import Metric
label_desc: Use image node_id 1 for calling the EarlyStoppingTest obj's underlying member method code with example usage: obj.test_check_early_stop_with_varying_metrics() without return types