#NEWLINE# def validate( self , value ) : #NEWLINE# #INDENT# ' Always returns a Python boolean. ' #NEWLINE# value = super ( Boolean , self ) . validate ( value ) #NEWLINE# if ( value is not None ) : #NEWLINE# #INDENT# value = bool ( value ) #NEWLINE# #UNINDENT# return self