0 being false and any integer being true, list length +1 on a stream filter should do it.
edit: Never mind, that only works on components taking buttons. If statement is the way to go.