Checks if the directory exists.
True if the directory exists and is a directory
Use this method to check if the directory exists and is accessible. The check is performed by changing current directory to the directory specified in Path parameter, checking response code and then reverting to previous value of current directory. So if the directory is not accessible (due to lack of permissions), this method will return false.