code: def _assert_array_equal(eq, a1, a2, margin=None):
      for a in zip(a1, a2):
          eq(a[0], a[1], margin)
  
imports: import unittest
  from collections import OrderedDict
  import gymnasium
  import numpy
  from ray.rllib.utils.serialization import convert_numpy_to_python_primitives, gym_space_from_dict, gym_space_to_dict, space_from_dict, space_to_dict
  from ray.rllib.utils.spaces.flexdict import FlexDict
  from ray.rllib.utils.spaces.repeated import Repeated
  from ray.rllib.utils.spaces.simplex import Simplex
label_desc: Use image node_id 1 for calling a global function with example usage: _assert_array_equal(eq, a1, a2, margin) without return types