code: def _is_output_event(event):
      """Checks if event is an Output event."""
      return event.type == metadata_store_pb2.Event.OUTPUT
  
imports: import re
  from IPython.display import display_html
  import matplotlib.pyplot
  import networkx
  import pandas
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: _is_output_event(event) and returns: unknown