def equal_set(self, a, b):
        if len(a) != len(b): return 0
        if a == b: return 1
        return self.subset(a, b) and self.subset(b, a)
True iff subset(a, b) and subset(b, a)
dataset/ETHPy150Open smurfix/yapps/yapps/parsetree.py/Generator.equal_set