def exit(self):
        s = self._intf
        if self._iamroot:
            s.send("exit\r")
            s.set_prompt("XyZ% ")
            s.wait_for_prompt()
            self._iamroot = False
        else:
            self._intf.send("exit\r")
            self._intf.close()
            self._intf = None
Validate if usage was described as value array
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/ssh_controller.py/ShellController.exit--crossover with--dataset/ETHPy150Open rene-aguirre/pywinusb/pywinusb/hid/core.py/ReportItem.is_value_array