code: def _safe_del_key(dict_, key):
      """Aux function.
  
      Use this function when preparing rejection parameters
      instead of directly deleting keys.
      """
      if key in dict_:
          del dict_[key]
  
file_path: mne-python/mne/preprocessing/ssp.py
imports: import copy
  import numpy
  from .._fiff.pick import pick_types
  from .._fiff.reference import make_eeg_average_ref_proj
  from ..epochs import Epochs
  from ..proj import compute_proj_epochs, compute_proj_evoked
  from ..utils import logger, verbose, warn
  from .ecg import find_ecg_events
  from .eog import find_eog_events
label_desc: Use image node_id 1 for calling a global function with example usage: _safe_del_key(dict_, key) without return types