code: def test_api_check_multimodal_data_correct():
      """Check that DataDefiner works correctly with multimodal data"""
      task = Task(TaskTypesEnum.classification)
  
      # Get data
      array_data, target = load_categorical_multidata()
  
      array_data_input = ApiDataProcessor(task).define_data(
          features=array_data, target=target
      )
  
      assert isinstance(array_data_input, MultiModalData)
      for data_source in array_data_input:
          assert isinstance(array_data_input[data_source], InputData)
  
file_path: FEDOT/test/unit/api/test_main_api.py
imports: import numpy
  import pandas
  import pytest
  from fedot import Fedot
  from fedot.api.api_utils.api_data import ApiDataProcessor
  from fedot.core.data.data import InputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.repository.tasks import Task, TaskTypesEnum, TsForecastingParams
  from fedot.core.utils import fedot_project_root
  from test.data.datasets import data_with_binary_features_and_categorical_target, get_dataset, load_categorical_multidata, get_split_data_paths, get_split_data, get_multimodal_ts_data, load_categorical_unimodal
label_desc: Use image node_id 5 for calling a global function with example usage: test_api_check_multimodal_data_correct() without return types