Some collections needed to be iterated over to count their length. Provide a function to check if the collection is empty to avoid this.
Some collections needed to be iterated over to count their length. Provide a function to check if the collection is empty to avoid this.