Returns true if party is one of the identities of this node, else false.
Returns true if name matches one of the identities of this node, else false.