If you require this, you shouldn't use forEach, but one of the additional methods possible on streams; which one, depends on what your goal is.
For example, if the purpose of this loop is to find the first portion which matches some word:
Optional<SomeObject> result =
someObjects.stream().filter(obj -> some_condition_met).findFirst();
(Note: This will not iterate the whole group, because streams are lazily evaluated - it will stand at the first object that meets the condition).
If you just want to know if there's an element in the collection for which the condition is true, you could use anyMatch:
boolean result = someObjects.stream().anyMatch(obj -> some_condition_met);