original_string: public static function aggregation_uses_aggregationcoef($aggregation) {
          return ($aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN
               or $aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN2
               or $aggregation == GRADE_AGGREGATE_EXTRACREDIT_MEAN
               or $aggregation == GRADE_AGGREGATE_SUM);
  
      }
code: public static function aggregation_uses_aggregationcoef($aggregation) {
          return ($aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN
               or $aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN2
               or $aggregation == GRADE_AGGREGATE_EXTRACREDIT_MEAN
               or $aggregation == GRADE_AGGREGATE_SUM);
  
      }
code_tokens: public static function aggregation_uses_aggregationcoef ( $ aggregation ) { return ( $ aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN or $ aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN2 or $ aggregation == GRADE_AGGREGATE_EXTRACREDIT_MEAN or $ aggregation == GRADE_AGGREGATE_SUM ) ; }
docstring: Returns true if aggregation uses aggregationcoef
  
  @param int $aggregation Aggregation const.
  @return bool True if an aggregation coefficient is being used
docstring_tokens: Returns true if aggregation uses aggregationcoef