maybe if <var> is not sufficient to check whether it is not None ...
Signed-off-by: Armin Wieser <armin.wieser@gmail.com>