code: def test_notebook_metadata_no_servers(mocked_module):
      with mock.patch(
          "ipykernel.connect.get_connection_file"
      ) as ipyconnect:
          ipyconnect.return_value = "kernel-12345.json"
          serverapp = mocked_module("jupyter_server.serverapp")
          serverapp.list_running_servers.return_value = []
          meta = wandb.jupyter.notebook_metadata(False)
          assert meta == {}
  
imports: import json
  import os
  import pathlib
  import platform
  import subprocess
  import sys
  from unittest import mock
  import pytest
  import wandb
  import wandb.jupyter
  import wandb.sdk.lib.apikey
  import wandb.util
label_desc: Use image node_id 6 for calling a global function with example usage: test_notebook_metadata_no_servers(mocked_module) without return types