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 ; }
Checks whether given decorator stat lines contain something besides cumulated stat .