class_docstr: HDD dataset.
class_docstr_tok: ["HDD","dataset","."]
docstr: Validate paths.
docstr_tok: ["Validate","paths","."]
code: def _validate_path(path):
      """Validate paths."""
      # check if path already exists
      if not os.path.exists(path):
          raise ValueError(f"No dataset found at path: {path}")
  
imports: import os
  from abc import ABC, abstractmethod
  from warnings import warn
  import numpy
  from joblib import dump, load
label_desc: Use image node_id 3 for calling the HDDBaseDataset obj's underlying member method code with example usage: obj._validate_path(path) without return types