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

isSatisfiedBy

fun isSatisfiedBy(attachment: Attachment): Boolean

Overrides AttachmentConstraint.isSatisfiedBy

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