code: def _assert_sample_batch_not_equal(b1: SampleBatch, b2: SampleBatch):
      """Assert that the two batches are not equal."""
      for key in b1.keys() & b2.keys():
          if b1[key].shape == b2[key].shape:
              assert not np.allclose(
                  b1[key], b2[key]
              ), f"Key {key} contain the same value when they should not."
  
imports: import unittest
  from typing import List, Union
  import numpy
  from rllib_dt.dt.segmentation_buffer import MultiAgentSegmentationBuffer, SegmentationBuffer
  import ray
  from ray.rllib.policy.sample_batch import DEFAULT_POLICY_ID, MultiAgentBatch, SampleBatch, concat_samples
  from ray.rllib.utils import test_utils
  from ray.rllib.utils.framework import try_import_tf, try_import_torch
  from ray.rllib.utils.typing import PolicyID
label_desc: Use image node_id 3 for calling a global function with example usage: _assert_sample_batch_not_equal(b1, b2) without return types