code: def check_args(args):
      if args.mode not in [0, 1, 2, 3]:
          raise Exception("Aggressiveness mode must be in {0,1,2,3}")
      if not os.path.exists(os.path.join(args.data_dir, "wav.scp")):
          raise Exception("No wav.scp file exists")
      return
  
file_path: espnet/egs/libri_css/asr1/local/segmentation/apply_webrtcvad.py
imports: import argparse
  import collections
  import contextlib
  import os
  import sys
  import wave
  import webrtcvad
label_desc: Use image node_id 2 for calling a global function with example usage: check_args(args) without return types