presto-main/src/main/java/io/prestosql/execution/resourcegroups/StochasticPriorityQueue.java/StochasticPriorityQueue/isEmpty
class StochasticPriorityQueue:    @Override
    public boolean isEmpty()
    {
        return index.isEmpty();
    }