code: def _check_bad(cond, msg):
      if cond:
          raise RuntimeError(f"Could not parse file: {msg}")
  
file_path: mne-python/mne/io/hitachi/hitachi.py
imports: import datetime
  import re
  import numpy
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import _merge_info, create_info
  from ..._fiff.utils import _mult_cal_one
  from ...utils import _check_fname, _check_option, fill_doc, logger, verbose, warn
  from ..base import BaseRaw
  from ..nirx.nirx import _read_csv_rows_cols
label_desc: Use image node_id 2 for calling a global function with example usage: _check_bad(cond, msg) without return types