Checks if a file is a directory.
os.Path.isDirectory( fname STRING) RETURNING result BOOLEAN
The function returns TRUE if the file is a directory, FALSE otherwise.