isNotEmpty

fun isNotEmpty(): Boolean

Returns whether this Stack is not empty.

Return

true if the Stack contains elements, false otherwise.