isn't this logic available in Imagine?

/cc @avalanche123