How can I add the filter to a stream depending on the boolean value?
for example variable = false (I do not add filter) and if variable = true I add it
list.stream()
.filter(I want do add or not add this filter depending on boolean variable)
.map(mapping method).collect(Collectors.toList)