code: def test_pypi_check_avail(mock_server):
      update.check_available("0.0.1")
      assert mock_server.ctx["json"] is not None
  
file_path: wandb/tests/pytest_tests/unit_tests_old/test_core/internal_update_test.py
imports: import wandb
label_desc: Use image node_id 9 for calling a global function with example usage: test_pypi_check_avail(mock_server) without return types