fun x500Matches(query: String, exactMatch: Boolean, x500name: CordaX500Name): Boolean
Check if x500name matches the query.