def __dispatchSubject(self, subject, currEventDateTime):
        ret = False
        # Dispatch if the datetime is currEventDateTime of if its a realtime subject.
        if not subject.eof() and (None, currEventDateTime) in subject.peekDateTime():
            ret = subject.dispatch() is True
        return ret

    # Returns a tuple with booleans
    # 1: True if all subjects hit eof
    # 2: True if at least one subject dispatched events.
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/dispatcher.py/Dispatcher.__dispatchSubject/swapped operands of `in`