code: def _fake_mcd(
      manifest_path,
      destination,
      url,
      hash_,
      name=None,
      fake_files=False,
  ):
      if name is None:
          name = url.split("/")[-1].split(".")[0]
          assert name in url
          assert name in str(destination)
      assert name in manifest_path
      assert len(hash_) == 32
      if fake_files:
          with open(manifest_path) as fid:
              for path in fid:
                  path = path.strip()
                  if not path:
                      continue
                  fname = op.join(destination, path)
                  os.makedirs(op.dirname(fname), exist_ok=True)
                  with open(fname, "wb"):
                      pass
  
imports: import os
  import re
  import shutil
  import zipfile
  from functools import partial
  from os import path
  import pooch
  import pytest
  from mne import datasets, read_labels_from_annot, write_labels_to_annot
  from mne.datasets import fetch_dataset, fetch_infant_template, fetch_phantom, testing
  from mne.datasets._fsaverage.base import _set_montage_coreg_path
  from mne.datasets._infant import base
  from mne.datasets._phantom import base
  from mne.datasets.utils import _manifest_check_download
  from mne.utils import ArgvSetter, _pl, catch_logging, get_subjects_dir, hashfunc, requires_good_network, use_log_level
label_desc: Use image node_id 6 for calling a global function with example usage: _fake_mcd(manifest_path, destination, url, hash_, name, fake_files) without return types