code: def update_stream_values_for_type(
      store_data, stream_event_data, uid_to_streams_for_type
  ):
      """
      Update the store with values of streams for a single type
  
      Args:
          store_data: Current store dictionary
          stream_event_data:  Potential stream data for current plotly event and
              traces in figures
          uid_to_streams_for_type: Mapping from trace UIDs to HoloViews streams of
              a particular type
      Returns:
          any_change: Whether any stream value has been updated
      """
      any_change = False
      for uid, event_data in stream_event_data.items():
          if uid in uid_to_streams_for_type:
              for stream_id in uid_to_streams_for_type[uid]:
                  if (
                      stream_id not in store_data["streams"]
                      or store_data["streams"][stream_id] != event_data
                  ):
                      store_data["streams"][stream_id] = event_data
                      any_change = True
      return any_change
  
imports: import base64
  import copy
  import pickle
  import uuid
  from collections import namedtuple
  from dash.exceptions import PreventUpdate
  import holoviews
  from holoviews.core.decollate import expr_to_fn_of_stream_contents, initialize_dynamic, to_expr_extract_streams
  from holoviews.plotting.plotly import DynamicMap, PlotlyRenderer
  from holoviews.plotting.plotly.callbacks import BoundsXCallback, BoundsXYCallback, BoundsYCallback, RangeXCallback, RangeXYCallback, RangeYCallback, Selection1DCallback
  from holoviews.plotting.plotly.util import clean_internal_figure_properties
  from holoviews.streams import Derived, History
  import plotly.graph_objects
  from dash import callback_context
  from dash.dependencies import Input, Output, State
label_desc: Use image node_id 11 for calling a global function with example usage: update_stream_values_for_type(store_data, stream_event_data, uid_to_streams_for_type) and returns: any_change