code: def _triage_fnirs_pick(ch, fnirs, warned):
      """Triage an fNIRS pick type."""
      if fnirs is True:
          return True
      elif (
          ch["coil_type"] == FIFF.FIFFV_COIL_FNIRS_HBO
          and "hbo" in fnirs
      ):
          return True
      elif (
          ch["coil_type"] == FIFF.FIFFV_COIL_FNIRS_HBR
          and "hbr" in fnirs
      ):
          return True
      elif (
          ch["coil_type"] == FIFF.FIFFV_COIL_FNIRS_CW_AMPLITUDE
          and "fnirs_cw_amplitude" in fnirs
      ):
          return True
      elif (
          ch["coil_type"] == FIFF.FIFFV_COIL_FNIRS_FD_AC_AMPLITUDE
          and "fnirs_fd_ac_amplitude" in fnirs
      ):
          return True
      elif (
          ch["coil_type"] == FIFF.FIFFV_COIL_FNIRS_FD_PHASE
          and "fnirs_fd_phase" in fnirs
      ):
          return True
      elif (
          ch["coil_type"] == FIFF.FIFFV_COIL_FNIRS_OD
          and "fnirs_od" in fnirs
      ):
          return True
      return False
  
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 6 for calling a global function with example usage: _triage_fnirs_pick(ch, fnirs, warned) and returns: False, True, True, True, True, True, True, True