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);

    }
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);

    }
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 ) ; }
Returns true if aggregation uses aggregationcoef

@param int $aggregation Aggregation const.
@return bool True if an aggregation coefficient is being used
Returns true if aggregation uses aggregationcoef