code: def _load_cache(self, key, value):
      from voluptuous import Invalid
  
      from dvc.schema import COMPILED_LOCK_FILE_STAGE_SCHEMA
      from dvc.utils.serialize import YAMLFileCorruptedError, load_yaml
  
      path = self._get_cache_path(key, value)
  
      try:
          return COMPILED_LOCK_FILE_STAGE_SCHEMA(load_yaml(path))
      except FileNotFoundError:
          return None
      except (YAMLFileCorruptedError, Invalid):
          logger.warning("corrupted cache file '%s'.", relpath(path))
          os.unlink(path)
          return None
  
imports: import os
  from contextlib import contextmanager
  from typing import TYPE_CHECKING, List, Optional, Tuple
  from funcy import first
  from dvc import fs
  from dvc.config import RemoteConfigError
  from dvc.exceptions import CollectCacheError, DvcException
  from dvc.log import logger
  from dvc.utils import dict_sha256, relpath
label_desc: Use image node_id 4 for calling the StageCache obj's underlying member method code with example usage: obj._load_cache(key, value) and returns: COMPILED_LOCK_FILE_STAGE_SCHEMA, None, None