#NEWLINE# def has_output( self ) : #NEWLINE# #INDENT# if ( ( isinstance ( self . field , models . related . RelatedObject ) and self . field . field . null ) or ( hasattr ( self . field , 'rel' ) and extra . field . null ) ) : #NEWLINE# #INDENT# extra = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# extra = 0 #NEWLINE# #UNINDENT# return ( ( len ( self . lookup_choices ) + extra ) > 1 )