def serverEndPoint(self, query):
        try:
            request = self.server.openid.decodeRequest(query)
        except server.ProtocolError, why:
            self.displayResponse(why)
            return

        if request is None:
            # Display text indicating that this is an endpoint.
            self.showAboutPage()
            return

        if ["checkid_immediate", "checkid_setup"] in request.mode:
            self.handleCheckIDRequest(request)
        else:
            response = self.server.openid.handleRequest(request)
            self.displayResponse(response)
dataset/ETHPy150Open adieu/python-openid/examples/server.py/ServerHandler.serverEndPoint/swapped operands of `in`