code: def restart(self):
          
          command = const.CMD_RESTART
          cmd_response = self.__send_command(command)
          if cmd_response.get('status'):
              self.is_connect = False
              self.next_uid = 1
              return True
          else:
              raise ZKErrorResponse("can't restart device")
docs: restart the device
  
          :return: bool