contains

open operator override fun contains(element: T): Boolean

Returns true if this stack contains the given element.

Return

true if this stack contains the given element.