code: def _check_compcor_method(compcor):
      """Load compcor options and check if method is acceptable.
  
      Parameters
      ----------
      compcor : :obj: `str`
          Compcor strategy to use. Options are "temporal_anat", "temporal",
          "anat", or "combined".
  
      Returns
      -------
      prefix_set : :obj:`list`
          List of prefixes to use for compcor components.
      anat_mask : :obj:`list`
          List of anatomical masks to use for acompcor.
      """
      # get relevant prefix from compcor strategy
      prefix_set = prefix_compcor[compcor]
      # get relevant compcor mask
      check_masktype = compcor.split("_")
      anat_mask_type = (
          None if len(check_masktype) == 1 else check_masktype[-1]
      )
      anat_mask = anat_masker[anat_mask_type]
      return prefix_set, anat_mask
  
label_desc: Use image node_id 3 for calling a global function with example usage: _check_compcor_method(compcor) and returns: prefix_set,  anat_mask