#NEWLINE# def is_expired( self , now = None ) : #NEWLINE# #INDENT# if ( self is None ) : #NEWLINE# #INDENT# now = time . time ( ) #NEWLINE# #UNINDENT# if ( ( self . expires is not None ) and ( self . expires <= now ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# return False