code: def test_get_image_modality(image_modality):
      rgb, flow = get_image_modality(image_modality)
  
      assert isinstance(rgb, bool)
      assert isinstance(flow, bool)
  
file_path: pykale/tests/loaddata/test_video_access.py
imports: import pytest
  import torch
  from yacs.config import CfgNode
  from kale.loaddata.dataset_access import get_class_subset
  from kale.loaddata.multi_domain import DomainsDatasetBase
  from kale.loaddata.video_access import get_image_modality, VideoDataset, VideoDatasetAccess
  from kale.loaddata.video_multi_domain import VideoMultiDomainDatasets
  from kale.utils.seed import set_seed
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_image_modality(image_modality) without return types