presto-main/src/main/java/io/prestosql/execution/executor/PrioritizedSplitRunner.java/PrioritizedSplitRunner/isFinished
class PrioritizedSplitRunner:    public boolean isFinished()
    {
        boolean finished = split.isFinished();
        if (finished) {
            finishedFuture.set(null);
        }
        return finished || destroyed.get() || taskHandle.isDestroyed();
    }