code: def dbfs_file_exists(api_client, dbfs_path):
      """Checks to determine whether a file exists.
  
      Args:
          api_client (ApiClient object): Object used for authenticating to the workspace
          dbfs_path (str): Path to check
  
      Returns:
          bool: True if file exists on dbfs, False otherwise.
      """
      try:
          DbfsApi(api_client).list_files(dbfs_path=DbfsPath(dbfs_path))
          file_exists = True
      except Exception:
          file_exists = False
      return file_exists
  
file_path: recommenders/tools/databricks_install.py
imports: import argparse
  import textwrap
  import os
  from pathlib import Path
  import pkg_resources
  import sys
  import time
  from urllib.request import urlretrieve
  from requests.exceptions import HTTPError
  from databricks_cli.configure.provider import ProfileConfigProvider
  from databricks_cli.configure.config import _get_api_client
  from databricks_cli.clusters.api import ClusterApi
  from databricks_cli.dbfs.api import DbfsApi
  from databricks_cli.libraries.api import LibrariesApi
  from databricks_cli.dbfs.dbfs_path import DbfsPath
  from recommenders.utils.spark_utils import MMLSPARK_PACKAGE, MMLSPARK_REPO
label_desc: Use image node_id 1 for calling a global function with example usage: dbfs_file_exists(api_client, dbfs_path) and returns: file_exists