core-ktx / androidx.view / android.view.Menu / contains

contains

operator fun Menu.contains(item: MenuItem): Boolean

Returns true if item is found in this menu.