code: def list_users(args: Namespace) -> None:
      resp = bindings.get_GetMaster(setup_session(args))
      users_list = client.list_users(active=None if args.all else True)
      renderer = FullUser  # type: Any
      if resp.to_json().get("rbacEnabled"):
          renderer = FullUserNoAdmin
      render.render_objects(renderer, users_list)
  
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 1 for calling a global function with example usage: list_users(args) without return types