docstr: Check if file exists
docstr_tok: ["Check","if","file","exists"]
code: def _preupload_check(self, nb_title, nb_path):
      """Check if file exists"""
      if not os.path.exists(nb_path):
          raise Exception(f"Couldn't find {nb_path}")
  
imports: import os
  import sys
  import argparse
  import traceback
  import json
  import re
  import logging
  import yaml
  import nbformat
  from nbconvert import HTMLExporter
  from arcgis.gis import GIS
label_desc: Use image node_id 5 for calling the ItemsUploader obj's underlying member method code with example usage: obj._preupload_check(nb_title, nb_path) without return types