original_docstring: Checks if required files exist before going deeper.
          Args:
              required_files (str or list): string file name(s).
          
docstring: Checks if required files exist before going deeper.
docstring_tokens: Checks if required files exist before going deeper .
code: def check_before_run(self, required_files):
          """Checks if required files exist before going deeper.
          Args:
              required_files (str or list): string file name(s).
          """
          if isinstance(required_files, str):
              required_files = [required_files]
  
          for fpath in required_files:
              if not osp.exists(fpath):
                  raise RuntimeError('"{}" is not found'.format(fpath))
code_tokens: def check_before_run ( self , required_files ) : if isinstance ( required_files , str ) : required_files = [ required_files ] for fpath in required_files : if not osp . exists ( fpath ) : raise RuntimeError ( '"{}" is not found' . format ( fpath ) )
short_docstring: Checks if required files exist before going deeper.
short_docstring_tokens: Checks if required files exist before going deeper .
comment: """Checks if required files exist before going deeper.
          Args:
              required_files (str or list): string file name(s).
          """