emptyIf

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