code: def check_file_exists(file_path: str, file_mode: str) -> None:
      with open(file_path, file_mode) as _:
          pass
  
file_path: vowpal_wabbit/utl/active_interactor.py
imports: import socket
  import argparse
  from typing import Callable, ContextManager, Optional, TextIO
  import contextlib
label_desc: Use image node_id 6 for calling a global function with example usage: check_file_exists(file_path, file_mode) without return types