src/Folder.php
public static function exists($path)
  {
    $path = Path::clean($path);
    
    $fs = new Filesystem();
    return $fs->exists($path);
  }
public static function exists($path)
  {
    $path = Path::clean($path);
    
    $fs = new Filesystem();
    return $fs->exists($path);
  }
Checks the existence of files or directories.

@param   string    $path     Folder name relative to installation dir
@return  bool      true if the file exists, false otherwise