#NEWLINE# def is_actual( self , id ) : #NEWLINE# #INDENT# expirated = ( datetime . now ( ) - timedelta ( seconds = CACHE_EXPIRATION ) ) #NEWLINE# if ( ( id in self . cache ) and ( self . cache [ id ] [ 0 ] >= expirated ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# return False