code: def on_value(value):
      if value is None:
          raise PreventUpdate
  
      return value
  
imports: import dash
  from dash import html, dcc, Output, Input
  from dash.exceptions import PreventUpdate
label_desc: Use image node_id 1 for calling a global function with example usage: on_value(value) and returns: value