Take in account the "checked" parameter when rendering a checkbox

, using that value in case no default value has been provided for that field.

Otherwise, checked is ignored when trying things like:

${form.checkbox('some_checkbox', 'This is a checkbox', checked=True)}

in templates, to automatically check the checkbox (based on some parameter available in the template context, for example).