Remove is_array from TwigExtension