isEmpty

isEmpty(): Boolean;

The isEmpty method of the Collection class returns true if the collection does not contain any entries.