#NEWLINE# def issue_instant_ok( self ) : #NEWLINE# #INDENT# ' Check that the response was issued at a reasonable time ' #NEWLINE# upper = time_util . shift_time ( time_util . time_in_a_while ( days = 1 ) , self . timeslack ) . timetuple ( ) #NEWLINE# lower = time_util . shift_time ( time_util . time_a_while_ago ( days = 1 ) , ( - self . timeslack ) ) . timetuple ( ) #NEWLINE# issued_at = str_to_time ( self . response . issue_instant ) #NEWLINE# return ( lower < issued_at < upper )