#NEWLINE# def isItemSelected( self , index ) : #NEWLINE# #INDENT# self . checkIndex ( index ) #NEWLINE# option = DOM . getChild ( self . getElement ( ) , index ) #NEWLINE# return DOM . getBooleanAttribute ( option , 'selected' )