default AGG fetchSession(final K key,
                             final Instant sessionStartTime,
                             final Instant sessionEndTime) {
        return fetchSession(key,
            ApiUtils.validateMillisecondInstant(sessionStartTime,
                prepareMillisCheckFailMsgPrefix(sessionStartTime, "sessionStartTime")),
            ApiUtils.validateMillisecondInstant(sessionEndTime,
                prepareMillisCheckFailMsgPrefix(sessionEndTime, "sessionEndTime")));
    }
Return all the session window entries that ends between the specified range (both ends are inclusive).
This function would be used to retrieve all closed and immutable windows.

@param earliestSessionEndTime earliest session end time to search from, inclusive
@param latestSessionEndTime latest session end time to search to, inclusive
streams/src/main/java/org/apache/kafka/streams/state/SessionStore.java