getAsBoolean

open fun getAsBoolean(): Boolean

Gets the state of this boolean menu item.

Return

a result whether this item is selected