Checks whether animations are enabled for widget.
widget
This should be used when implementing an animated widget to know whether to animate it or not.
a `GtkWidget`
whether animations are enabled for widget