presto-main/src/main/java/io/prestosql/server/TaskResource.java/TaskResource/shouldSummarize
class TaskResource:    private static boolean shouldSummarize(UriInfo uriInfo)
    {
        return uriInfo.getQueryParameters().containsKey("summarize");
    }