#NEWLINE# def add( self , key , value , timeout = DEFAULT_TIMEOUT , version = None , read = False , tag = None ) : #NEWLINE# #INDENT# 'Set a value in the cache if the key does not already exist. If timeout is\n        given, that timeout will be used for the key; otherwise the default\n        cache timeout will be used.\n\n        Return True if the value was stored, False otherwise.\n\n        ' #NEWLINE# if self . has_key ( key , version ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return self . set ( key , value , timeout = timeout , version = version , read = read , tag = tag )