code: private boolean hasMultipleCostRates()
     {
        boolean result = false;
        CostRateTable table = getCostRateTable();
        if (table != null)
        {
           //
           // We assume here that if there is just one entry in the cost rate
           // table, this is an open ended rate which covers any work, it won't
           // have specific dates attached to it.
           //
           if (table.size() > 1)
           {
              //
              // If we have multiple rates in the table, see if the same rate
              // is in force at the start and the end of the aaaignment.
              //
              CostRateTableEntry startEntry = table.getEntryByDate(getStart());
              CostRateTableEntry finishEntry = table.getEntryByDate(getFinish());
              result = (startEntry != finishEntry);
           }
        }
        return result;
     }
docs: Used to determine if multiple cost rates apply to this assignment.
  
  @return true if multiple cost rates apply to this assignment