Dolby Vision Refresh Rate Switching?

What about the Display.HdrCapabilities API? Or will that only get you the capabilities of the active mode? If that is the case, how feasible would it be to cycle through a set of modes to figure out the capabilities of the display and cache them for future use?
It’s not an elegant solution by any means, but could it be a potential workaround until there is proper support for querying the HDR capabilities of all supported modes?