emptyIf

fun <T, E> LiveData<State<T, E>>.emptyIf(emptyPredicate: (T) -> Boolean): LiveData<State<T, E>>