condition - is current animation set to loop

Could be useful to check if the currently playing animation is set to loop. If not looped, apply different kind of logic to it.

For example?