def METHOD_NAME(self):
    attack_config = self.config["attack"]
    attack_type = attack_config.get("type")
    if not attack_config.get("kwargs").get("targeted", False):
        raise ValueError(
            "attack['kwargs']['targeted'] must be set to True for D-APRICOT scenario"
        )
    elif attack_type == "preloaded":
        raise ValueError(
            "attack['type'] should not be set to 'preloaded' for D-APRICOT scenario "
            "and does not need to be specified."
        )
    elif "targeted_labels" not in attack_config:
        raise ValueError(
            "attack['targeted_labels'] must be specified, as the D-APRICOT"
            " threat model is targeted."
        )
    elif attack_config.get("use_label"):
        raise ValueError(
            "The D-APRICOT scenario threat model is targeted, and"
            " thus attack['use_label'] should be set to false or unspecified."
        )
    generate_kwargs = attack_config.get("generate_kwargs", {})
    if "threat_model" not in generate_kwargs:
        raise ValueError(
            "D-APRICOT scenario requires attack['generate_kwargs']['threat_model'] to be set to"
            " one of ('physical', 'digital')"
        )
    elif generate_kwargs["threat_model"].lower() not in ("physical", "digital"):
        raise ValueError(
            "D-APRICOT scenario requires attack['generate_kwargs']['threat_model'] to be set to"
            f"' one of ('physical', 'digital'), not {generate_kwargs['threat_model']}."
        )
    super().METHOD_NAME()