ValidPath (Kernel)

ValidPath(directory)

Returns TRUE is the directory is valid, otherwise, FALSE.

Parameters:directory (string) – The directory.
Returns:TRUE if the directory exists, otherwise FALSE.