code: private boolean hasAnyStat(ProducerDecoratorBean decorator) {
          for (ProducerAO producer : decorator.getProducers()) {
              for (StatLineAO line : producer.getLines()) {
                  if (!CUMULATED_STAT_NAME_VALUE.equals(line.getStatName())) {
                      return true;
                  }
              }
          }
  
          return false;
      }
docs: Checks whether given decorator stat lines contain something besides cumulated stat.
  @param decorator {@link ProducerDecoratorBean}