maybe i did not explain it correct, but you are talking about the template and that only.
i am seeking and proposing a solution for python and templates.
this is exactly where i stumbled for example:
having richtext with a value and then emptying it - store that and you get "None" and have to check for the values very carefully.
you could be more carefree, when a richtext is a richtext, no matter, if empty or filled with whatever.
the holy trinity of questions to get text displayed - i know that
but what about that once and for all:
or in python
if value and value.output_relative_to(view.context):
i actually don't like to ask a richtext to be richtext in order to do richtext stuff with it.
but maybe its a wish from z3c.form to have to ask that.
on a generic field i'd understand that for sure.