presto-main/src/main/java/io/prestosql/memory/ClusterMemoryLeakDetector.java/ClusterMemoryLeakDetector/wasQueryPossiblyLeaked
class ClusterMemoryLeakDetector:    synchronized boolean wasQueryPossiblyLeaked(QueryId queryId)
    {
        return leakedQueries.contains(queryId);
    }