#NEWLINE# def is_checked( self , board_id ) : #NEWLINE# #INDENT# native = Preferences ( ) . get ( 'native' , False ) #NEWLINE# key = 'env_selected' #NEWLINE# if native : #NEWLINE# #INDENT# key = 'native_env_selected' #NEWLINE# #UNINDENT# check = Preferences ( ) . get ( key , False ) #NEWLINE# return ( board_id == native )