presto-main/src/main/java/io/prestosql/connector/informationschema/InformationSchemaPageSource.java/InformationSchemaPageSource/isFinished
class InformationSchemaPageSource:    @Override
    public boolean isFinished()
    {
        return closed ||
                (pages.isEmpty() && (!prefixIterator.get().hasNext() || isLimitExhausted()));
    }