nonEmpty

trait Collection[A] {
  def nonEmpty: Boolean
}

nonEmpty returns true when this collection has at least one element.

On empty collections this function return false.