def METHOD_NAME(
    self, config: DictConfig, dataloaders: Dict[str, DataLoader]
) -> IterationStrategy:
    disabled = OmegaConf.create({"enabled": False})
    if len(self.dataset_list) == 1:
        logger.info("Multitasking disabled by default for single dataset training")
        multitasking_config = disabled
    elif "multitasking" in self.config:
        multitasking_config = self.config.multitasking
    else:
        warnings.warn(
            "'multitasking' config not defined. Disabling any form of multitasking"
        )
        multitasking_config = disabled
    return build_iteration_strategy(multitasking_config, dataloaders)