AnimatedItem.animation.playing property

readonly playing: bool

Returns true if an animation is playing on this item.