#NEWLINE# def isChannelCapability( capability ) : #NEWLINE# #INDENT# 'Returns True if capability is a channel capability; False otherwise.' #NEWLINE# if ( ',' in capability ) : #NEWLINE# #INDENT# ( channel , capability ) = capability . split ( ',' , 1 ) #NEWLINE# return ( ircutils . isChannel ( channel ) and isCapability ( channel ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False