code: def skip(json_files, save_opt, conf):
      """
      Detect when the librispeech data prep can be skipped.
  
      Arguments
      ---------
      json_files : dict
          Dictionary containing the paths where json files will be stored for train, valid, and test.
  
      save_opt: str
          Path to the file where options will be saved.
  
      conf : dict
          The configuration options to ensure they haven't changed.
  
      Returns
      -------
      bool
          if True, the preparation phase can be skipped.
          if False, it must be done.
      """
  
      # Checking csv files
      skip = any(
          not os.path.isfile(json_file) for json_file in json_files
      )
  
      #  Checking saved options
      if skip is True:
          if os.path.isfile(save_opt):
              opts_old = load_pkl(save_opt)
              if opts_old == conf:
                  skip = True
              else:
                  skip = False
          else:
              skip = False
  
      return skip
  
imports: import logging
  import csv
  import math
  import json
  import os
  import torchaudio
  import speechbrain
  from glob import glob
  from functools import partial
  from tqdm.auto import tqdm
  from torchaudio import functional
  from subprocess import list2cmdline
  from speechbrain.utils.superpowers import run_shell
  from speechbrain.utils.data_utils import download_file
  from speechbrain.dataio.dataio import load_pkl, save_pkl
label_desc: Use image node_id 2 for calling a global function with example usage: skip(json_files, save_opt, conf) and returns: skip