Yes, except that from twig template, it's, AFAIK, impossible to do... am I wrong ?