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