Returns whether the directory exists in the specified path.
Path to file or directory.
true: File object(path) is directory, false: File object(path) is not directory