function createCheckbox(key, title) {
    return m("div.option", { class: key }, [
        m("label", [
            m("input[type=checkbox]", {
                title: title,
                checked: this.settings[key],
                onchange: (e) => {
                    this.settings[key] = e.target.checked;
                    this.saveEnabled = true;
                },
            }),
            title,
        ]),
    ]);
}
Generates vnode for a checkbox setting

@since 3.0.0

@param string key    Settings key
@param string title  Label for the checkbox
@return Vnode