code: def check_sids_arrays_match(left, right, message):
      """Check that two 1d arrays of sids are equal"""
      if len(left) != len(right):
          raise ValueError(
              "{}:\nlen(left) ({}) != len(right) ({})".format(
                  message, len(left), len(right)
              )
          )
  
      diff = left != right
      if diff.any():
          (bad_locs,) = np.where(diff)
          raise ValueError(
              "{}:\n Indices with differences: {}".format(
                  message, bad_locs
              )
          )
  
imports: from functools import partial
  import h5py
  import logbook
  import numpy
  import pandas
  from six import iteritems, raise_from, viewkeys
  from six.moves import reduce
  from zipline.data.bar_reader import NoDataAfterDate, NoDataBeforeDate, NoDataForSid, NoDataOnDate
  from zipline.data.session_bars import CurrencyAwareSessionBarReader
  from zipline.utils.memoize import lazyval
  from zipline.utils.numpy_utils import bytes_array_to_native_str_object_array
  from zipline.utils.pandas_utils import check_indexes_all_same
label_desc: Use image node_id 5 for calling a global function with example usage: check_sids_arrays_match(left, right, message) without return types