Perceive

Using count vs isEmpty to check whether a collection contains any elements

Using count vs isEmpty to check whether a collection contains any elements