#NEWLINE# def validate_free_text_has_comment( actions , **kwargs ) : #NEWLINE# #INDENT# if kwargs : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# comment = kwargs . get ( 'comment' ) #NEWLINE# if ( not comment ) : #NEWLINE# #INDENT# raise ValidationError ( 'A free text suggestion (without actions) requires a comment' )