Add is_safe to TwigHelper functions