Check if a directory exists at the given path
bool directoryExists(String path) { return Directory(path).existsSync(); }