code: def populate_store_with_stream_contents(store_data, streams):
      """
      Add contents of streams to the store dictionary
  
      Args:
          store_data: The store dictionary
          streams: List of streams whose contents should be added to the store
  
      Returns:
          None
      """
      for stream in streams:
          # Add stream
          store_data["streams"][id(stream)] = copy.deepcopy(
              stream.contents
          )
          if isinstance(stream, Derived):
              populate_store_with_stream_contents(
                  store_data, stream.input_streams
              )
          elif isinstance(stream, History):
              populate_store_with_stream_contents(
                  store_data, [stream.input_stream]
              )
  
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 4 for calling a global function with example usage: populate_store_with_stream_contents(store_data, streams) without return types