fun isLegalIdentity(party: Party): Boolean
Returns true if party is one of the identities of this node, else false.
fun isLegalIdentity(name: CordaX500Name): Boolean
Returns true if name matches one of the identities of this node, else false.