The Conroy & Conroy Subroutine Library (2021.3 edition)

DirectoryExists
What: boolean function
File:
Layer: 1
Format: result = DirectoryExists( name )
Platforms: C++, C#, Pascal, PHP, Python

Returns true if the specified directory exists and false otherwise. Note that this is not defined for versions of Pascal that already define DirectoryExists.