This was only using [checked] to check if the item is checked, but the attribute can also be "false".
This has only been tested on Windows10 with non-native menus.