def __repr__(self):
        if self.properties in 'title':
            ret = "<NodeData id={!r}, title='{!s}'>"
            return ret.format(self.id, self.properties['title'])
        else:
            ret = '<NodeData id={!r}>'
            return ret.format(self.id, self.parent)
dataset/ETHPy150Open conceptsandtraining/libtree/libtree/core/node_data.py/NodeData.__repr__/swapped operands of `in`