def check_status(self, _input_message):
        if _input_message.message_id in self.sessions and _input_message.message_data[0] in self.sessions[_input_message.message_id]:
            return -1
        elif (_input_message.message_id - self.shift) in self.sessions and (_input_message.message_data[0] - 0x40) in self.sessions[_input_message.message_id - self.shift]:
            return 2
        elif (_input_message.message_id - self.shift) in self.sessions and self.error_responses in _input_message.message_data[0]:
            return 3
        elif _input_message.message_id not in self.sessions or _input_message.message_data[0] not in self.sessions[_input_message.message_id]:
            return 0
        else:
            return -3

    # Method to handle messages ISO TP messages
dataset/ETHPy150Open eik00d/CANToolz/libs/uds.py/UDSMessage.check_status/swapped operands of `in`