code: def _get_ee() -> Optional[bool]:
      global _is_ee
  
      if _is_ee is None:
          try:
              info = api.get(
                  conf.make_master_url(), "info", authenticated=False
              ).json()
              _is_ee = "sso_providers" in info
          except (errors.APIException, errors.MasterNotFoundException):
              pass
  
      return _is_ee
  
imports: import uuid
  from typing import Callable, Optional, Sequence, TypeVar
  import pytest
  from determined.common import api
  from determined.common.api import authentication, bindings, certs, errors
  from tests import config
label_desc: Use image node_id 16 for calling a global function with example usage: _get_ee() and returns: _is_ee