code: def log_out_user(parsed_args: Namespace) -> None:
      if parsed_args.all:
          authentication.logout_all(parsed_args.master, certs.cli_cert)
      else:
          # Log out of the user specified by the command line, or the active user.
          authentication.logout(
              parsed_args.master, parsed_args.user, certs.cli_cert
          )
  
imports: import getpass
  from argparse import Namespace
  from collections import namedtuple
  from typing import Any, List
  from determined.cli import errors, login_sdk_client, render, setup_session
  from determined.common import api
  from determined.common.api import authentication, bindings, certs
  from determined.common.declarative_argparse import Arg, Cmd, string_to_bool
  from determined.experimental import client
  from determined.experimental.client import Determined
label_desc: Use image node_id 5 for calling a global function with example usage: log_out_user(parsed_args) without return types