code: def check_file_exist(
      filename: str, msg_tmpl: str = 'file "{}" does not exist'
  ) -> None:
      if not os.path.isfile(filename):
          raise FileNotFoundError(msg_tmpl.format(filename))
  
file_path: qlib/qlib/rl/contrib/naive_config_parser.py
imports: import os
  import platform
  import shutil
  import sys
  import tempfile
  from importlib import import_module
  import yaml
label_desc: Use image node_id 2 for calling a global function with example usage: check_file_exist(filename, msg_tmpl) without return types