@garyrussell  Do we have already have common utility to do this?