yea, I wasn't sure whether it should go in a util function, and didn't really wanna deal with the submodule, I think i'll just create corehq.util