Is there a better (shorter) way of writing this?

{%- if config.extra.meta_position %}{%- if config.extra.meta_position == “bottom” %}

…do stuff

{%- endif %}{%- endif %}

I write it this way so that if the value does not exist in config.toml then zola can still build, but I am wondering if there might be a better way to write this.