def data_out(self, session, text=None, **kwargs):
        """
        Called by server for having the portal relay messages and data
        to the correct session protocol. We also convert oob input to
        a generic form here.

        Args:
            session (Session): Session sending data.

        Kwargs:
            text (str): Text from protocol.
            kwargs (any): Other data from protocol.

        """
        #from evennia.server.profiling.timetrace import timetrace
        #text = timetrace(text, "portalsessionhandler.data_out")

        if session:
            # convert oob to the generic format
            if kwargs in "oob":
                kwargs["oob"] = self.oobstruct_parser(kwargs["oob"])
            session.data_out(text=text, **kwargs)
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/portalsessionhandler.py/PortalSessionHandler.data_out/swapped operands of `in`