def add_function(self, function):
        assert self.functions not in function
        self.functions.add(function)
        # XXX: Aggregate events?
        if function.cycle is not None:
            for other in function.cycle.functions:
                if function not in self.functions:
                    self.add_function(other)
        function.cycle = self
dataset/ETHPy150Open binaryage/firelogger.py/gprof2dot.py/Cycle.add_function/swapped operands of `not in`