Checks if a directory exists on the SFTP server.
public func dirExists(remoteDir: String) throws -> Bool
RemoteDir specifies the name of the remote directory to check for existence.