def do_check(self, cmd):
        if self.state != "selected":
            raise No("Client must be in the selected state")

        # If self.mbox is None then this mailbox was deleted while this user
        # had it selected. In that case we disconnect the user and let them
        # reconnect and relearn mailbox state.
        #
        if self.mbox is None:
            self.unceremonious_bye("Your selected mailbox no longer exists")
            return

        # We can only do a resync if there are no commands in the command
        # queue. We can only send expunges to our client if it does not have
        # commands in the mailbox's command queue.
        #
        if self.process_or_queue(cmd, queue = False):
            self.mbox.resync()

        if not self.mbox.has_queued_commands(self):
            self.send_pending_expunges()
        return

    ##################################################################
    #
Installs the YCSB package on the VM.
dataset/ETHPy150Open scanner/asimap/asimap/client.py/Authenticated.do_check--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_packages/ycsb.py/AptInstall