public override bool ValidateContextual(ParticipantHandler participantHandler, List <Chain> chains) { var valid = false; valid &= participantHandler.HasSender(SenderAddress) && ValidateTransactionIntegrity(participantHandler.GetSenderKey(SenderAddress)); foreach (var c in chains) { valid |= c.HasTransaction(TreatmentTransactionAddress); valid |= participantHandler.HasParkedTreatment(TreatmentTransactionAddress); } return(valid); }