private void pruneNonPrefixedElements() {
            while (iteratorWithKeyPrefixes.hasNext()
                && !prefixChecker.apply(iteratorWithKeyPrefixes.peekNextKey())) {
                iteratorWithKeyPrefixes.next();
            }
        }
Converts a {@link KeyValueIterator} which returns keys with prefixes to one which
returns un-prefixed keys.
streams/src/main/java/org/apache/kafka/streams/state/internals/LogicalKeyValueSegment.java