default boolean hasNext(AnalysisContext context) {
        if (context == null
            || context.readRowHolder() == null
            || context.readSheetHolder() == null
            || context.readSheetHolder().getReadSheet() == null
            || context.readWorkbookHolder().getReadWorkbook() == null
        ) {
            return true;
        }
        ReadRowHolder readRowHolder = context.readRowHolder();
        int index = readRowHolder.getRowIndex();

        Integer limit = context.readSheetHolder().getReadSheet().getNumRows();
        if (limit == null) {
            limit = context.readWorkbookHolder().getReadWorkbook().getNumRows();
        }
        if (limit != null && index >= limit) {
            return false;
        }
        return true;
    }
Verify that there is another piece of data.You can stop the read by returning false

@param context
@return
fastexcel-core/src/main/java/cn/idev/excel/read/listener/ReadListener.java