code: def test_interval_is_more_than_1(self, mock_save_check):
      state = {}
      check = Interval("test_file", period=4)
  
      for i in range(13):
          check.on_checkpoint(state)
          if i == 3:
              self.assertTrue(mock_save_check.call_count == 1)
          elif i == 6:
              self.assertFalse(mock_save_check.call_count == 2)
          elif i == 7:
              self.assertTrue(mock_save_check.call_count == 2)
  
      self.assertTrue(mock_save_check.call_count == 3)
  
imports: from unittest import TestCase
  from mock import patch, Mock
  import torchbearer
  from torchbearer import Trial
  from torchbearer.callbacks.checkpointers import _Checkpointer, ModelCheckpoint, MostRecent, Interval, Best
  import warnings
label_desc: Use image node_id 2 for calling the TestInterval obj's underlying member method code with example usage: obj.test_interval_is_more_than_1(mock_save_check) without return types