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.