This would be more concise if you did `<b>${_("Yes") if section_data['grade_cutoffs'] else _("No")}</b>`. However, it may be less readable/clear. If you prefer what you have in the template because you think it's more readable, I'm fine with that; I just want to make sure you know about using the ternary operator here.