How to detect if the mouse is over the UI?

Yeah I saw the Is Hovered, but was hoping there was a better way. It would mean I would need to iterate over every widget in the viewport and check if it Is Hovered, every single tick, which just seems wasteful.