/**
  * @see
  *     org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl#isResultReturnable(org.kuali.rice.krad.bo.BusinessObject)
  */
 @Override
 public boolean isResultReturnable(BusinessObject claimAsBO) {
   boolean result = super.isResultReturnable(claimAsBO);
   ElectronicPaymentClaim claim = (ElectronicPaymentClaim) claimAsBO;
   if (result
       && ((claim.getPaymentClaimStatusCode() != null
               && claim
                   .getPaymentClaimStatusCode()
                   .equals(ElectronicPaymentClaim.ClaimStatusCodes.CLAIMED))
           || (!StringUtils.isBlank(claim.getReferenceFinancialDocumentNumber())))) {
     result = false;
   }
   return result;
 }
 /**
  * Determines if the given electronic payment claim was generated by the accounting line that
  * this GeneratingLineHolder has information for
  *
  * @param epc the electronic payment claim to check
  * @return true if this accounting line did generate the epc, false otherwise
  */
 public boolean isMommy(ElectronicPaymentClaim epc) {
   return epc.getDocumentNumber().equals(documentNumber)
       && epc.getFinancialDocumentLineNumber().equals(lineNumber);
 }