hasSelectedItem

Checks if the view's selected item id matches given one

Parameters

id

Menu item id to be checked