code: def _recursive_items_equal(arr1, arr2):
      for y1, y2 in zip(arr1, arr2):
          for x1, x2 in zip(y1, y2):
              return (set(x1) == set(x2)) and (len(x1) == len(x2))
  
file_path: stellargraph/tests/data/test_heterogeneous_breadth_first_walker.py
imports: import pandas
  import numpy
  import pytest
  from stellargraph.data.explorer import SampledHeterogeneousBreadthFirstWalk
  from stellargraph.core.graph import StellarGraph
  from ..test_utils.graphs import example_graph_random
label_desc: Use image node_id 1 for calling a global function with example usage: _recursive_items_equal(arr1, arr2) and returns: unknown