presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/isEnableIntermediateAggregations
class SystemSessionProperties:    public static boolean isEnableIntermediateAggregations(Session session)
    {
        return session.getSystemProperty(ENABLE_INTERMEDIATE_AGGREGATIONS, Boolean.class);
    }