filter

fun Bundle.filter(action: (String, Bundle) -> Boolean): Bundle


fun Flow<Boolean>.filter(): Flow<Boolean>

Keeps only the true emissions, for flows that already are the predicate.