I kind of think...

```scala
if (theListOfBoxes.exists(_.isInstanceOf[Failure])) {
```

would read better.

That said, you're right, there's room for optimization here like whoa.