code: def test_office_caltech(office_path):
      office_access = ImageAccess.get_multi_domain_images(
          "OFFICE_CALTECH",
          office_path,
          download=False,
          return_domain_label=True,
      )
      testing.assert_equal(len(office_access.class_to_idx), 10)
      testing.assert_equal(len(office_access.domain_to_idx), 4)
  
file_path: pykale/tests/loaddata/test_image_access.py
imports: import pytest
  import torch
  from numpy import testing
  from yacs.config import CfgNode
  from kale.loaddata.dataset_access import get_class_subset
  from kale.loaddata.image_access import DigitDataset, DigitDatasetAccess, get_cifar, ImageAccess
  from kale.loaddata.multi_domain import DomainsDatasetBase, MultiDomainAdapDataset, MultiDomainDatasets
label_desc: Use image node_id 2 for calling a global function with example usage: test_office_caltech(office_path) without return types