isEmpty

abstract override fun isEmpty(): Boolean(source)

Returns true if the collection is empty (contains no elements), false otherwise.

Since Kotlin

1.0