#NEWLINE# def isAntiCapability( capability ) : #NEWLINE# #INDENT# 'Returns True if capability is an anticapability; False otherwise.' #NEWLINE# if isChannelCapability ( capability ) : #NEWLINE# #INDENT# ( _ , capability ) = fromChannelCapability ( capability ) #NEWLINE# #UNINDENT# return ( isCapability ( capability ) and ( capability [ 0 ] == '-' ) )