question: public boolean isCostCollectorType ( String ... types ) { String type = getCostCollectorType ( ) ; for ( String t : types ) { if ( type . equals ( t ) ) return true ; } return false ; }
target:  Check if CostCollectorType is equal with any of provided types