isEmpty

Returns true if the iterable is empty. If this is a Collection, uses isEmpty, otherwise creates iterator and verifies whether it has next value.