def is_soon(dt, window):
    soon = (utcnow() + datetime.timedelta(seconds=window))
    return normalize_time(dt) <= soon
Determines if time is going to happen in the next window seconds.
dataset/ETHPy150Open openstack/python-monascaclient/monascaclient/openstack/common/timeutils.py/is_soon