This function got moved, verbatim, to utils/topic_tools.py .  The only difference is the save() got removed.