Added boolean twig filter