def verifymenucheck(self, window_name, object_name):
try:<EOL><INDENT>menu_handle = self._get_menu_handle(window_name, object_name,<EOL>False)<EOL>try:<EOL><INDENT>if menu_handle.AXMenuItemMarkChar:<EOL><INDENT>return <NUM_LIT:1><EOL><DEDENT><DEDENT>except atomac._a11y.Error:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>except LdtpServerException:<EOL><INDENT>pass<EOL><DEDENT>return <NUM_LIT:0><EOL>
Verify a menu item is checked

@param window_name: Window name to look for, either full name,
LDTP's name convention, or a Unix glob.
@type window_name: string
@param object_name: Object name to look for, either full name,
LDTP's name convention, or a Unix glob. Or menu heirarchy
@type object_name: string

@return: 1 on success.
@rtype: integer