code: def assert_similar_hists(
      hist_list, check_type: bool = True, assert_type=used_hist_types
  ):
      """Assert consistent list of input histograms
  
      Assert that type and dimension of all histograms in input list are the same.
  
      :param list hist_list: list of input histogram objects to check on consistency
      :param bool assert_type: if true, also assert type consistency of histograms (besides n-dim and datatype).
      """
      similar = check_similar_hists(
          hist_list, check_type=check_type, assert_type=assert_type
      )
      if not similar:
          raise ValueError("Input histograms are not all similar.")
  
imports: from __future__ import annotations
  import warnings
  import histogrammar
  import numpy
  from histogrammar.util import get_hist_props
  from popmon.hist.hist_utils import get_bin_centers, is_numeric
  from popmon.stats.numpy import quantile
label_desc: Use image node_id 13 for calling a global function with example usage: assert_similar_hists(hist_list, check_type, assert_type) without return types