any

inline suspend fun <T : Any> Flow<T>.any(crossinline predicate: suspend (T) -> Boolean): Boolean

Returns true if any element in the Flow matches the given predicate. Consumes the Flow.