sprockets/src/main/java/net/sf/sprockets/database/Cursors.java
public static boolean hasPosition(Cursor cursor, int position) {
        return !cursor.isClosed() && position >= 0 && position < cursor.getCount();
    }
public static boolean hasPosition(Cursor cursor, int position) {
        return !cursor.isClosed() && position >= 0 && position < cursor.getCount();
    }
True if the cursor has a row at the position.

@since 4.0.0