public override bool isExpired() { // this is the Instrument interface, so it doesn't use // BondFunctions, and includeSettlementDateFlows is true // (unless QL_TODAY_PAYMENTS will set it to false later on) return(CashFlows.isExpired(cashflows_, true, Settings.evaluationDate())); }