#NEWLINE# def _unjelly_boolean( self , exp ) : #NEWLINE# #INDENT# if BooleanType : #NEWLINE# #INDENT# assert ( exp [ 0 ] in ( 'true' , 'false' ) ) #NEWLINE# return ( exp [ 0 ] == 'true' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return Unpersistable ( ( 'Could not unpersist boolean: %s' % ( exp [ 0 ] , ) ) )