def METHOD_NAME(self, conf: Dict[str, Any]) -> CheckResult:
    if self.entity_type == "Pod":
        evaluated_key_prefix = "spec"
        try:
            spec = conf["spec"]
            metadata = conf.get("metadata", {})
        except KeyError:
            logging.info(f"failed to extract {evaluated_key_prefix} for {self.entity_path}")
            return CheckResult.UNKNOWN
    elif self.entity_type in "PodTemplate":
        evaluated_key_prefix = "template/spec"
        try:
            spec = conf["template"]["spec"]
            metadata = conf["template"].get("metadata", {})
        except KeyError:
            logging.info(f"failed to extract {evaluated_key_prefix} for {self.entity_path}")
            return CheckResult.UNKNOWN
    elif self.entity_type in BaseK8sContainerCheck.TEMPLATE_ENTITIES:
        evaluated_key_prefix = "spec/template/spec"
        try:
            spec = conf["spec"]["template"]["spec"]
            metadata = conf["spec"]["template"].get("metadata", {})
        except (KeyError, TypeError):
            return CheckResult.UNKNOWN
    elif self.entity_type == "CronJob":
        evaluated_key_prefix = "spec/jobTemplate/spec/template/spec"
        try:
            spec = conf["spec"]["jobTemplate"]["spec"]["template"]["spec"]
            metadata = conf["spec"]["jobTemplate"]["spec"]["template"].get("metadata", {})
        except (KeyError, TypeError):
            return CheckResult.UNKNOWN
    else:
        logging.info(f"entity type {self.entity_type} not supported")
        return CheckResult.UNKNOWN
    containers: List[Dict[str, Any]] = (
        spec.get("containers", []) if "containers" in self.supported_container_types and isinstance(spec, dict) else []
    ) or []
    init_containers: List[Dict[str, Any]] = (
        spec.get("initContainers", []) if "initContainers" in self.supported_container_types and isinstance(spec, dict) else []
    ) or []
    results = set()
    result = self._check_containers(
        evaluated_key_prefix=evaluated_key_prefix,
        container_type="containers",
        metadata=metadata,
        containers=containers,
    )
    results.add(result)
    if result == CheckResult.FAILED:
        return CheckResult.FAILED
    result = self._check_containers(
        evaluated_key_prefix=evaluated_key_prefix,
        container_type="initContainers",
        metadata=metadata,
        containers=init_containers,
    )
    results.add(result)
    if result == CheckResult.FAILED:
        return CheckResult.FAILED
    return CheckResult.PASSED if CheckResult.PASSED in results else CheckResult.UNKNOWN