Damiano
if (AggregationFunctionUtils.isDistinct(functionContexts) || AggregationFunctionUtils.isDrawdown(functionContexts)) { .. }