def METHOD_NAME(self, scenario_config_id: str, scenario_config: ScenarioConfig):
    if scenario_config.comparators is not None and not isinstance(scenario_config.comparators, dict):
        self._error(
            ScenarioConfig._COMPARATOR_KEY,
            scenario_config.comparators,
            f"{ScenarioConfig._COMPARATOR_KEY} field of ScenarioConfig"
            f" `{scenario_config_id}` must be populated with a dictionary value.",
        )
    else:
        for data_node_id, comparator in scenario_config.comparators.items():
            if data_node_id not in Config.data_nodes:
                self._error(
                    ScenarioConfig._COMPARATOR_KEY,
                    scenario_config.comparators,
                    f"The key `{data_node_id}` in {ScenarioConfig._COMPARATOR_KEY} field of ScenarioConfig"
                    f" `{scenario_config_id}` must be populated with a valid data node configuration id.",
                )
            if not callable(comparator):
                if not isinstance(comparator, list) or not all(callable(comp) for comp in comparator):
                    self._error(
                        ScenarioConfig._COMPARATOR_KEY,
                        scenario_config.comparators,
                        f"The value of `{data_node_id}` in {ScenarioConfig._COMPARATOR_KEY} field of ScenarioConfig"
                        f" `{scenario_config_id}` must be populated with a list of Callable values.",
                    )