Does anyone know if a built in function exists this for this in 4.1 now? I can't seem to find anything in the docs but it's been talked about for a few years now.