def timed_out(started_at, wait_for_s):
    #
    # If the wait time is the sentinel value FOREVER, never time out
    # Otherwise time out if the current time is more than wait_for_s seconds after the start time
    #
    if wait_for_s is config.FOREVER:
        return False
    else:
        return started_at + wait_for_s > time.time()
dataset/ETHPy150Open tjguk/networkzero/networkzero/discovery.py/timed_out/swapped operands of `>`