Returns true if the path given represents a directory.
Important: This function is only available in the operating system programs!
dir = fs.isDirectory("/file.txt")