Enum.any?/2 might gain you a bit, but only a little. For an empty list it returns always false, so you could do Enum.any?(list, &(&1)), which will return true for any non-empty list that does not consists of only nils and falses. But if you expect to have a list that might consit only of those, you can extend the filter: Enum.any?(list, &(&1 or (&1 == false) or (&1 == nil))) (untested).
But to be honest, I’d prefer to use Enum.empty?/1, but only if you can’t use a pattern match.


















