code: def _electrode_types(info, *, exclude="bads"):
      return [
          ch_type
          for ch_type in _ELECTRODE_CH_TYPES
          if len(pick_types(info, exclude=exclude, **{ch_type: True}))
      ]
  
imports: import re
  from copy import deepcopy
  import numpy
  from ..utils import _check_option, _ensure_int, _validate_type, fill_doc, logger, verbose, warn
  from .constants import FIFF
label_desc: Use image node_id 21 for calling a global function with example usage: _electrode_types(info) and returns: unknown