def _got_payload_instance_info(self, response):
        if 'error' in response:
            self.activated = False
            self.ipmi_session.unregister_keepalive(self.keepaliveid)
            self._print_error(response['error'])
            return
        currowner = struct.unpack(
            "<I", struct.pack('4B', *response['data'][:4]))
        if currowner[0] != self.ipmi_session.sessionid:
            # the session is deactivated or active for something else
            self.activated = False
            self.ipmi_session.unregister_keepalive(self.keepaliveid)
            self._print_error('SOL deactivated')
            return
        # ok, still here, that means session is alive, but another
        # common issue is firmware messing with mux on reboot
        # this would be a nice thing to check, but the serial channel
        # number is needed and there isn't an obvious means to reliably
        # discern which channel or even *if* the serial port in question
        # correlates at all to an ipmi channel to check mux
dataset/ETHPy150Open openstack/pyghmi/pyghmi/ipmi/console.py/Console._got_payload_instance_info/original