Is it possible to do a conditional collectEntries like collect ?

Edit
Report