def subset(self, a, b):
        for x in a:
            if x not in b:
                return 0
        return 1
True iff all elements of sequence a are inside sequence b
dataset/ETHPy150Open smurfix/yapps/yapps/parsetree.py/Generator.subset