code: def test_trigger(self):
      trainer = testing.get_trainer_with_mock_updater(
          stop_trigger=None, iter_per_epoch=self.iter_per_epoch
      )
      trigger = training.triggers.IntervalTrigger(*self.interval)
      # before the first iteration, trigger should be False
      for expected in [False] + self.expected:
          self.assertEqual(trigger(trainer), expected)
          trainer.updater.update()
  
file_path: chainer/tests/chainer_tests/training_tests/triggers_tests/test_interval_trigger.py
imports: from __future__ import division
  import random
  import tempfile
  import unittest
  import numpy
  from chainer import serializers
  from chainer import testing
  from chainer.testing import condition
  from chainer import training
label_desc: Use image node_id 1 for calling the TestIntervalTrigger obj's underlying member method code with example usage: obj.test_trigger() without return types