corda / net.corda.core.contracts / HashAttachmentConstraint / isSatisfiedBy

isSatisfiedBy

fun isSatisfiedBy(attachment: Attachment): Boolean

Returns whether the given contract attachment can be used with the ContractState associated with this constraint object.