def assert_datasource_unframe_protocol(event):
 assert (event.type in DATASOURCE_TYPE)

def assert_datasource_unframe_protocol ( event ) : assert ( event . type in DATASOURCE_TYPE )
assert that an event is valid output of zp .