added featureEnabled twig function for use in if statements