isEmpty

fun isEmpty(): Boolean

Returns whether this Stack is empty or not.

Return

true if the Stack contains no elements, false otherwise.