code: def assert_datasource_unframe_protocol(event):
      """Assert that an event is valid output of zp.DATASOURCE_UNFRAME."""
      assert event.type in DATASOURCE_TYPE
  
file_path: zipline/zipline/gens/utils.py
imports: import pytz
  import numbers
  from hashlib import md5
  from datetime import datetime
  from zipline.protocol import DATASOURCE_TYPE
  from six import iteritems, b
label_desc: Use image node_id 4 for calling a global function with example usage: assert_datasource_unframe_protocol(event) without return types