code: def _find_channels(ch_names, ch_type="EOG"):
      """Find EOG channel."""
      substrings = (ch_type,)
      substrings = [s.upper() for s in substrings]
      if ch_type == "EOG":
          substrings = ("EOG", "EYE")
      eog_idx = [
          idx
          for idx, ch in enumerate(ch_names)
          if any(substring in ch.upper() for substring in substrings)
      ]
      return eog_idx
  
file_path: mne-python/mne/_fiff/utils.py
imports: import os
  import os.path
  import numpy
  from .constants import FIFF
  from .meas_info import _get_valid_units
label_desc: Use image node_id 2 for calling a global function with example usage: _find_channels(ch_names, ch_type) and returns: eog_idx