def __str__(self):
        if self.topological not in None:
            return "t%d-%d" % (self.topological, self.stream)
        else:
            return "s%d" % (self.stream,)
dataset/ETHPy150Open matrix-org/synapse/synapse/types.py/RoomStreamToken.__str__/operator `is not` -> `not in`