protected boolean containsRate(Award award, InstitutionalProposalUnrecoveredFandA ipRate) {
   for (AwardFandaRate rate : award.getAwardFandaRate()) {
     if (StringUtils.equals(rate.getFiscalYear(), ipRate.getFiscalYear())
         && StringUtils.equals(rate.getSourceAccount(), ipRate.getSourceAccount())
         && rate.getUnderrecoveryOfIndirectCost()
             .equals(ipRate.getUnderrecoveryOfIndirectcost())) {
       return true;
     }
   }
   return false;
 }
 protected InstitutionalProposalUnrecoveredFandA createIPFandA(String fiscalYear) {
   InstitutionalProposalUnrecoveredFandA retval = new InstitutionalProposalUnrecoveredFandA();
   retval.setFiscalYear(fiscalYear);
   retval.setIndirectcostRateType(idcRateType);
   retval.setApplicableIndirectcostRate(new ScaleTwoDecimal(0.01));
   retval.setOnCampusFlag(true);
   retval.setSourceAccount("abc123");
   retval.setUnderrecoveryOfIndirectcost(new ScaleTwoDecimal(10.50));
   return retval;
 }