contains

fun contains(predicate: (Throwable) -> Boolean): Boolean

Returns true if any of the exceptions in the composite exception match the specified predicate.