The runtime needs to remain compatible between environments, so that would need to be ported over to the official XBlock repo, and to the LMS and the SDK/workbench -- given that they don't all have a LMS, that wouldn't make sense.

Ie this means that this is not generic enough to be included in the runtime, it will have to be done outside of it, more likely as one of the upcoming XBlock runtime services. I'd leave it as is for now imho.