any

fun <E> LiveData<out Collection<E>?>.any(predicate: (E) -> Boolean): Boolean

Return

true if at least one element matches the given predicate. false if no element matches it or if the LiveData doesn't have a value.