def is_soon(dt, window):
 soon = (utcnow() + datetime.timedelta(seconds=window))
 return (normalize_time(dt) <= soon)

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 .