The right way to check for empty content in Twig