code: def test_is_uri_job_or_run() -> None:
      test_cases = [
          "https://wandb.ai/my-entity/my-project/runs/2aqbwbek?workspace=user-my-entity",
          "/my-entity/my-project/runs/2aqbwbek",
          "/my-entity/my-project/artifacts/job/my-job.py/_view/versions",
          "https://wandb.ai/my-entity/my-project/artifacts/job/my-job.py/latest/lineage",
      ]
      for test_case in test_cases:
          assert WandbReference.is_uri_job_or_run(test_case)
      test_cases = [
          "",
          "https://wandb.ai/",
          "https://beta.wandb.ai/settings",
          "https://github.com/wandb/examples/pull/123/files",
      ]
      for test_case in test_cases:
          assert not WandbReference.is_uri_job_or_run(test_case)
  
file_path: wandb/tests/pytest_tests/system_tests/test_launch/test_wandb_reference.py
imports: from wandb.sdk.launch.wandb_reference import WandbReference
label_desc: Use image node_id 9 for calling a global function with example usage: test_is_uri_job_or_run() without return types