It doesn't. I can create an entirely new twig extension for this one filter, but CodeExtension has a collection of common filters used in the profiler/exception pages so it seemed suitable.