Not in SunPy, however it is a utility function that could be useful for users on their own datasets.