code: def test_preset_in_init(problem_type, presets):
      predictor = MultiModalPredictor(problem_type=problem_type)
      if problem_type not in [
          FEATURE_EXTRACTION,
          ZERO_SHOT_IMAGE_CLASSIFICATION,
      ]:
          predictor = MultiModalPredictor(
              problem_type=problem_type, presets=presets
          )
  
file_path: autogluon/multimodal/tests/unittests/others/test_presets.py
imports: import pytest
  from omegaconf import OmegaConf
  from autogluon.multimodal import MultiModalPredictor
  from autogluon.multimodal.constants import ALL_MODEL_QUALITIES, DATA, DISTILLER, ENVIRONMENT, FEATURE_EXTRACTION, MODEL, OPTIMIZATION, ZERO_SHOT_IMAGE_CLASSIFICATION
  from autogluon.multimodal.presets import get_automm_presets, get_basic_automm_config, list_automm_presets
  from autogluon.multimodal.problem_types import PROBLEM_TYPES_REG
  from autogluon.multimodal.utils import get_config
label_desc: Use image node_id 4 for calling a global function with example usage: test_preset_in_init(problem_type, presets) without return types