What is the best method to check if a field is empty in a node template.
In node--example.html.twig we can use "content" variable.
I can't use check like checking a block
{% if content.field_example %}
I can use something like this:
{% if content.field_example['#object'] is defined %}
But what is the best method?