corda / net.corda.core.contracts / AlwaysAcceptAttachmentConstraint / isSatisfiedBy

isSatisfiedBy

fun isSatisfiedBy(attachment: Attachment): Boolean

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