#NEWLINE# def __bool__( self ) : #NEWLINE# #INDENT# value = self . value #NEWLINE# if ( value is _AUTO ) : #NEWLINE# #INDENT# raise ValueError ( 'Flag AUTO cannot be converted to boolean' ) #NEWLINE# #UNINDENT# return value