code: def check(self, batch):
      self.true_batch = self.data[self.counter % len(self.data)]
      self.counter += 1
      res = self.true_batch == batch
      return res.all() if not isinstance(res, bool) else res
  
file_path: ignite/tests/ignite/engine/__init__.py
imports: import torch
label_desc: Use image node_id 2 for calling the BatchChecker obj's underlying member method code with example usage: obj.check(batch) and returns: unknown