code: def _compare_nested_sequences(seq1, seq2):
      """Compare two sequences of arrays."""
      return all([(l == m).all() for l, m in zip(seq1, seq2)])
  
file_path: acme/acme/wrappers/delayed_reward_test.py
imports: from typing import Any
  from acme import wrappers
  from acme.testing import fakes
  from dm_env import specs
  import numpy
  import tree
  from absl.testing import absltest
  from absl.testing import parameterized
label_desc: Use image node_id 2 for calling a global function with example usage: _compare_nested_sequences(seq1, seq2) and returns: all