Gets the checked status of the specified menu item.
Parameters
- tool
- A Tool enumeration value associated with the menu.
- topMenuId
- An integer value which represents the top-level menu ID.
- subMenuId
- An integer value which represents the sub-level menu ID.
Return Value
A boolean value which is true if the given item is checked. Otherwise, false is returned.