code: def assert_history(publish_util, dropped=None):
      history = generate_history()
      ctx_util = publish_util(history=history)
  
      converted_history = convert_history(history)
      assert ctx_util.history == converted_history
      if dropped is not None:
          assert ctx_util.dropped_chunks == dropped
  
label_desc: Use image node_id 3 for calling a global function with example usage: assert_history(publish_util, dropped) without return types