code: def is_hpc() -> bool:
      st = _get_scheduler_type()
      if st is None:
          raise RuntimeError(
              "unable to contact master to determine is_hpc()"
          )
      return st in (
          bindings.v1SchedulerType.SLURM,
          bindings.v1SchedulerType.PBS,
      )
  
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 15 for calling a global function with example usage: is_hpc() and returns: unknown