Solution:
The CheckboxMenuItem class extends the MenuItem class and supports a menu item that may be either checked or unchecked.
Credit: 3870