#NEWLINE# def get_is_old( self , obj ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return ( obj . age > 80 ) #NEWLINE# #UNINDENT# except TypeError as te : #NEWLINE# #INDENT# raise ValidationError ( text_type ( self ) )