def eventOccurred(self, instrument, bards):
        ret = False
        if self.__dates in bards[-1].getDateTime().date():
            ret = True
        return ret
dataset/ETHPy150Open gbeced/pyalgotrade/testcases/eventprofiler_test.py/Predicate.eventOccurred/swapped operands of `in`