code: def _check_results(self, got, expected):
      got_dict = {g[0]: g[1] for g in got}
      expected_dict = {e[0]: e[1] for e in expected}
  
      self.assertCountEqual(got_dict.keys(), expected_dict.keys())
      for k, got_record_batch in got_dict.items():
          expected_record_batch = expected_dict[k]
          self.assertTrue(
              got_record_batch.equals(expected_record_batch)
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import unittest
  from absl.testing import absltest
  import apache_beam
  from apache_beam.testing import util
  import pyarrow
  from tensorflow_data_validation import constants
  from tensorflow_data_validation.utils import slicing_util
  from tfx_bsl.public.proto import slicing_spec_pb2
  from google.protobuf import text_format
label_desc: Use image node_id 1 for calling the SlicingUtilTest obj's underlying member method code with example usage: obj._check_results(got, expected) without return types