No, that wasn't what I meant. Let's take two scenarios: one where `enable_latex_compiler` is not passed to the template (and so is UNDEFINED) and one where `enable_latex_compiler` *is* passed to the template with a value of `False`. Should the template handle those two cases any differently? I don't think they should (please correct me if I'm wrong). If that's the case, then since UNDEFINED is a falsy value, you can skip the `enable_latex_compiler is not UNDEFINED` check entirely, and just move on to the truthy/falsy check. Does that make sense?