#NEWLINE# def get_flag_enums( value ) : #NEWLINE# #INDENT# db = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# db [ 'cfhdrPREV_CABINET' ] = ( True if ( value == 1 ) else False ) #NEWLINE# db [ 'cfhdrNEXT_CABINET' ] = ( True if ( value == 2 ) else False ) #NEWLINE# db [ 'cfhdrRESERVE_PRESENT' ] = ( True if ( value == 4 ) else False ) #NEWLINE# return db