code: def test_telemetry_imports(relay_server, wandb_init):
      with relay_server() as relay:
          transformers_mock = mock.MagicMock()
          transformers_mock.__name__ = "transformers"
  
          catboost_mock = mock.MagicMock()
          catboost_mock.__name__ = "catboost"
  
          jax_mock = mock.MagicMock()
          jax_mock.__name__ = "jax"
  
          with mock.patch.dict(
              "sys.modules",
              {
                  "jax": jax_mock,
                  "catboost": catboost_mock,
              },
          ):
              __import__("jax")
  
              run = wandb_init()
              __import__("catboost")
              run.finish()
              with mock.patch.dict(
                  "sys.modules",
                  {
                      "transformers": transformers_mock,
                  },
              ):
                  __import__("transformers")
  
      telemetry = relay.context.get_run_telemetry(run.id)
      assert telemetry
      assert 12 in telemetry.get("2", [])  # jax
      assert 7 in telemetry.get("2", [])  # catboost
      assert 11 not in telemetry.get("2", [])
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_telemetry_full.py
imports: from typing import AbstractSet
  from unittest import mock
  from wandb.proto.v3.wandb_telemetry_pb2 import Feature
label_desc: Use image node_id 3 for calling a global function with example usage: test_telemetry_imports(relay_server, wandb_init) without return types