Checks if a directory exists on the SFTP server.
public boolean dirExists(String remoteDir);
RemoteDir specifies the name of the remote directory to check for existence.