The checkedmenu() function returns a boolean value indicating whether a specified position in a menu has a check mark appearing next to it.
checkedmenu(menu menu_name, position)
• menu menu_name – The name of the menu.
• position – Integer indicating the position of a menu item in the menu.
The checkedmenu() function cannot be used with grouped menu items that the application inherited, such as the Clipboard menu items Cut, Copy and Paste. For more information about menu items that the checkedmenu() function can be used with, refer to Form-based Menus.