isEmpty

suspend fun isEmpty(): Boolean

Checks if the set is empty.

This method checks if the set is empty in a thread-safe approach.

Return

true if the set is empty, false otherwise.