code: def check_exist_or_download(url):
      download_dir = "/tmp/"
      name = url.rsplit("/", 1)[-1]
      filename = os.path.join(download_dir, name)
  
      if not os.path.isfile(filename):
          print("Downloading %s" % url)
          urllib.request.urlretrieve(url, filename)
      else:
          print("Already Downloaded: %s" % url)
  
label_desc: Use image node_id 1 for calling a global function with example usage: check_exist_or_download(url) without return types