code: def _needs_eeg_average_ref_proj(info):
      """Determine if the EEG needs an averge EEG reference.
  
      This returns True if no custom reference has been applied and no average
      reference projection is present in the list of projections.
      """
      if info["custom_ref_applied"]:
          return False
      if not _electrode_types(info):
          return False
      if _has_eeg_average_ref_proj(info):
          return False
      return True
  
imports: import re
  from copy import deepcopy
  from itertools import count
  import numpy
  from ..defaults import _BORDER_DEFAULT, _EXTRAPOLATE_DEFAULT, _INTERPOLATION_DEFAULT
  from ..fixes import _safe_svd
  from ..utils import _check_option, _validate_type, fill_doc, logger, object_diff, verbose, warn
  from .constants import FIFF
  from .pick import _ELECTRODE_CH_TYPES, _electrode_types, pick_info, pick_types
  from .tag import _rename_list, find_tag
  from .tree import dir_tree_find
  from .write import _safe_name_list, end_block, start_block, write_float, write_float_matrix, write_int, write_name_list_sanitized, write_string
label_desc: Use image node_id 13 for calling a global function with example usage: _needs_eeg_average_ref_proj(info) and returns: True, False, False, False