code: def test_studio_logout(dvc):
      with dvc.config.edit("global") as conf:
          conf["studio"]["token"] = "isat_access_token"
  
      assert main(["studio", "logout"]) == 0
      config = dvc.config.load_one("global")
      assert "token" not in config["studio"]
  
      assert main(["studio", "logout"]) == 1
  
file_path: dvc/tests/unit/command/test_studio.py
imports: from dvc_studio_client.auth import AuthenticationExpired
  from dvc.cli import main
  from dvc.utils.studio import STUDIO_URL
label_desc: Use image node_id 4 for calling a global function with example usage: test_studio_logout(dvc) without return types