#NEWLINE# def get_context( self , name , value , attrs ) : #NEWLINE# #INDENT# result = self . check_test ( value ) #NEWLINE# context = super ( CheckboxInput , self ) . get_context ( name , value , attrs ) #NEWLINE# if result : #NEWLINE# #INDENT# context [ 'attrs' ] [ 'checked' ] = True #NEWLINE# #UNINDENT# return context