def subscribe(self, handler):
        if self.__emitting:
            self.__toSubscribe.append(handler)
        elif self.__handlers not in handler:
            self.__handlers.append(handler)
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/observer.py/Event.subscribe/swapped operands of `not in`