Report question

Question: Better version of "iterate over Seq or if empty" in scala?