code: def _get_downloaded_image_filename(dest, name, suffix):
      start_index = 1
      candidate_name = name
  
      while (dest / f"{candidate_name}{suffix}").is_file():
          candidate_name = f"{candidate_name}{start_index}"
          start_index += 1
  
      return candidate_name
  
file_path: fastai/fastai/vision/utils.py
imports: from __future__ import annotations
  import uuid
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
  from fastdownload import download_url
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: _get_downloaded_image_filename(dest, name, suffix) and returns: candidate_name