def __le__(self, other):
        if not isinstance(other, Set):
            return NotImplemented
        if len(self) > len(other):
            return False
        for elem in self:
            if elem not in other:
                return False
        return True
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/_abcoll.py/Set.__le__/original