#NEWLINE# def flags_to_words( number , prefix ) : #NEWLINE# #INDENT# words = set ( ) #NEWLINE# for flag_name in ( k for k in dir ( taskscheduler ) if k . startswith ( prefix ) ) : #NEWLINE# #INDENT# flag_value = getattr ( taskscheduler , flag_name ) #NEWLINE# if ( flag_value & number ) : #NEWLINE# #INDENT# words . add ( flag_name [ len ( prefix ) : ] . lower ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# return words