code: def strict_q_control_disabled() -> bool:
      if roles_not_implemented() or rbac_disabled():
          return True
      try:
          return not bindings.get_GetMaster(
              api_utils.determined_test_session()
          ).strictJobQueueControl
      except (errors.APIException, errors.MasterNotFoundException):
          return True
  
imports: import contextlib
  from typing import Any, Callable, Dict, Generator, List, NamedTuple, Optional, Tuple
  import pytest
  from determined.common import api
  from determined.common.api import authentication, bindings, errors
  from tests import api_utils
  from tests import config
  from tests.cluster.test_workspace_org import setup_workspaces
  from .test_groups import det_cmd, det_cmd_expect_error, det_cmd_json
  from .test_users import logged_in_user
label_desc: Use image node_id 3 for calling a global function with example usage: strict_q_control_disabled() and returns: True, unknown, True