def _triage_fnirs_pick(ch, fnirs):
 if (fnirs is True):
  return True
 elif ((ch['coil_type'] == FIFF.FIFFV_COIL_FNIRS_HBO) and (fnirs == 'hbo')):
  return True
 elif ((ch['coil_type'] == FIFF.FIFFV_COIL_FNIRS_HBR) and (fnirs == 'hbr')):
  return True
 return False

def _triage_fnirs_pick ( ch , fnirs ) : if ( fnirs is True ) : return True elif ( ( ch [ 'coil_type' ] == FIFF . FIFFV_COIL_FNIRS_HBO ) and ( fnirs == 'hbo' ) ) : return True elif ( ( ch [ 'coil_type' ] == FIFF . FIFFV_COIL_FNIRS_HBR ) and ( fnirs == 'hbr' ) ) : return True return False
triage an fnirs pick type .