Sorry. I was confused by the method name, thinking it would return true if all attributes are valid.

In fact, it would be best to stay functional instead of imperative for Scala. In this case, we can use the exists() method (http://www.scala-lang.org/api/current/index.html#scala.collection.Map) and supply a high-order function to reduce this to a one-liner.