public boolean hasNext()

in src/main/java/pemja/core/object/PyIterator.java [36:48]


    public boolean hasNext() {
        if (!stopIteration) {
            try {
                if (needFetch) {
                    element = next(tState, pyobject);
                    needFetch = false;
                }
            } catch (NoSuchElementException e) {
                stopIteration = true;
            }
        }
        return !stopIteration;
    }