How to check if a Folder exists in DriveApp code example
Example: INNO setup check if folder exists
Prototype:
function DirExists(const Name: String): Boolean;
Description:
Returns True if the specified directory name exists. The specified name may include a trailing backslash.