code: def test_cbsc009_callback_using_unloaded_async_component_and_graph(
      dash_duo,
  ):
      app = Dash(__name__)
      app.layout = FragmentComponent(
          [
              CollapseComponent(
                  [AsyncComponent(id="async", value="A")], id="collapse"
              ),
              html.Button("n", id="n"),
              DelayedEventComponent(id="d"),
              html.Div("Output init", id="output"),
          ]
      )
  
      @app.callback(
          Output("output", "children"),
          Output("collapse", "display"),
          Input("n", "n_clicks"),
          Input("d", "n_clicks"),
          Input("async", "value"),
      )
      def content(n, d, v):
          return json.dumps([n, d, v]), (n or 0) > 1
  
      dash_duo.start_server(app)
  
      dash_duo.wait_for_text_to_equal("#output", '[null, null, "A"]')
      dash_duo.wait_for_element("#d").click()
  
      dash_duo.wait_for_text_to_equal("#output", '[null, 1, "A"]')
  
      dash_duo.wait_for_element("#n").click()
      dash_duo.wait_for_text_to_equal("#output", '[1, 1, "A"]')
  
      dash_duo.wait_for_element("#d").click()
      dash_duo.wait_for_text_to_equal("#output", '[1, 2, "A"]')
  
      dash_duo.wait_for_no_elements("#async")
  
      dash_duo.wait_for_element("#n").click()
      dash_duo.wait_for_text_to_equal("#output", '[2, 2, "A"]')
      dash_duo.wait_for_text_to_equal("#async", "A")
  
      assert dash_duo.get_logs() == []
  
imports: import json
  import os
  from multiprocessing import Lock, Value
  import pytest
  import time
  import numpy
  import werkzeug
  from dash_test_components import AsyncComponent, CollapseComponent, DelayedEventComponent, FragmentComponent
  from dash import Dash, Input, Output, State, html, dcc, dash_table, no_update, callback_context
  from dash.exceptions import PreventUpdate
  from tests.integration.utils import json_engine
label_desc: Use image node_id 9 for calling a global function with example usage: test_cbsc009_callback_using_unloaded_async_component_and_graph(dash_duo) and returns: json,  unknown