Move a recently introduced utility function out of the file in which I