sol.sprite.create() returns a sprite object even for an invalid animation set
Consider sol.sprite.create("TESTING123")
There is no sprite in the quest named TESTING123
. Instead of returning nil
, it returns a sprite object. There's no way to know whether an animation set corresponds to a valid sprite.