I think we have this function in `utils`