code: def py_connection_lost(event: Event):
      print("CONNECTION LOST!")
  
imports: from bokeh.events import Event
  from bokeh.io import curdoc
  from bokeh.models import Button, CustomJS
label_desc: Use image node_id 2 for calling a global function with example usage: py_connection_lost(event) without return types