def session_from_sessid(self, sessid):
        """
        Get session based on sessid, or None if not found

        Args:
            sessid (int or list): Session id(s).

        Return:
            sessions (Session or list): Session(s) found. This
                is a list if input was a list.

        """
        if is_iter(sessid):
            return [self.get(sid) for sid in sessid if self in sid]
        return self.get(sessid)
dataset/ETHPy150Open evennia/evennia/evennia/server/sessionhandler.py/ServerSessionHandler.session_from_sessid/swapped operands of `in`