How to check if a Java 8 Stream is empty? December 1, 2022 by Tarik This may be sufficient in many cases stream.findAny().isPresent()