public boolean hasIdentity ( String category , String type ) { String key = XmppStringUtils . generateKey ( category , type ) ; return identitiesSet . contains ( key ) ; }
Returns true if this DiscoverInfo contains at least one Identity of the given category and type .