presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/SingleDistinctAggregationToGroupBy.java/SingleDistinctAggregationToGroupBy/noFilters
class SingleDistinctAggregationToGroupBy:    private static boolean noFilters(AggregationNode aggregationNode)
    {
        return aggregationNode.getAggregations()
                .values().stream()
                .noneMatch(aggregation -> aggregation.getFilter().isPresent());
    }