Without calling maybeRestartAnimation() the element won't have its animation reapplied on the next frame if no animations are running and getComputedStyle() is never called.
I'm not sure what a return value would be used for.