#NEWLINE# def has_capability( self , capability ) : #NEWLINE# #INDENT# capabilities = self . get_capabilities ( ) #NEWLINE# return ( ( len ( capabilities ) > capability ) and capabilities [ capability ] )