Allows context menu items in the Atom editor to be shown or not based on a condition.