code: def dataset_exists(dataset, data_home=None):
      """
      Checks to see if a directory with the name of the specified dataset exists
      in the data home directory, found with ``get_data_home``.
  
      Parameters
      ----------
      dataset : str
          The name of the dataset; should either be a folder in data home or
          specified in the yellowbrick.datasets.DATASETS variable.
  
      data_home : str, optional
          The path on disk where data is stored. If not passed in, it is looked
          up from YELLOWBRICK_DATA or the default returned by ``get_data_home``.
  
      Returns
      -------
      exists : bool
          If a folder with the dataset name is in the data home directory.
      """
      data_home = get_data_home(data_home)
      path = os.path.join(data_home, dataset)
  
      return os.path.exists(path) and os.path.isdir(path)
  
file_path: yellowbrick/yellowbrick/datasets/path.py
imports: import os
  import shutil
  from .signature import sha256sum
  from yellowbrick.exceptions import DatasetsError
label_desc: Use image node_id 3 for calling a global function with example usage: dataset_exists(dataset, data_home) and returns: unknown