code: def find_confounds(confounds_raw, keywords):
      """Find confounds that contain certain keywords.
  
      Used for cosine regressors and ICA-AROMA regressors.
  
      Parameters
      ----------
      confounds_raw : pandas.DataFrame
          Raw confounds loaded from the confounds file.
  
      keywords : list of str
          List of keywords to search for in the confounds.
  
      Returns
      -------
      list of str
          List of confounds that contain the keywords.
      """
      list_confounds = []
      for key in keywords:
          key_found = [
              col for col in confounds_raw.columns if key in col
          ]
          if key_found:
              list_confounds.extend(key_found)
      return list_confounds
  
imports: import itertools
  import json
  import os
  import re
  import numpy
  import pandas
  from sklearn.preprocessing import scale
  from nilearn._utils.fmriprep_confounds import flag_single_gifti, is_camel_case
  from nilearn.interfaces.bids import parse_bids_filename
  from .load_confounds_scrub import extract_outlier_regressors
label_desc: Use image node_id 2 for calling a global function with example usage: find_confounds(confounds_raw, keywords) and returns: list_confounds