Sprite.hasAnimation

bool hasAnimation()

Returns true if the sprite has an animation assigned.