code: def assert_data_containers_equal(dc, dc_new):
      assert dc_new.data_format == dc.data_format
      for d1, d2 in zip(dc_new.data, dc.data):
          if isinstance(d1, np.ndarray):
              np.testing.assert_array_equal(d1, d2)
          elif isinstance(d1, slc.Keypoints):
              assert d1.height == d2.height and d1.width == d2.width
              np.testing.assert_array_equal(d1.data, d2.data)
          else:
              assert d1 == d2
  
imports: import itertools
  import random
  import cv2
  import numpy
  import pytest
  import torch
  import solt.core
  import solt.transforms
  import solt.utils
  from .fixtures import *
label_desc: Use image node_id 1 for calling a global function with example usage: assert_data_containers_equal(dc, dc_new) without return types