presto-main/src/main/java/io/prestosql/execution/resourcegroups/WeightedFairQueue.java/WeightedFairQueue/contains
class WeightedFairQueue:    @Override
    public boolean contains(E element)
    {
        return index.containsKey(element);
    }