code: def skip_if_not_suitable_resource_pool() -> None:
      session = api_utils.determined_test_session()
      rps = bindings.get_GetResourcePools(session)
      assert (
          rps.resourcePools and len(rps.resourcePools) > 0
      ), "missing resource pool"
      if (
          len(rps.resourcePools) != 1
          or rps.resourcePools[0].slotType != bindings.devicev1Type.CPU
          or rps.resourcePools[0].slotsAvailable != 8
      ):
          errorMessage = "required config: 1 resource pool with 1 node, with only 8 slots."
          pytest.skip(errorMessage)
  
file_path: determined/e2e_tests/tests/experiment/test_pending_hpc.py
imports: import tempfile
  import time
  import pytest
  from determined.common import util
  from determined.common.api import bindings
  from determined.common.api.bindings import experimentv1State
  from tests import api_utils
  from tests import config
  from tests import experiment
label_desc: Use image node_id 1 for calling a global function with example usage: skip_if_not_suitable_resource_pool() without return types