How can I check if an animation is playing or has finished in creature

How can I check animation on complete? in Creature

Try this example
http://labs.phaser.io/view.html?src=src/animation/on%20complete%20callback.js

Thanks for your response
is not working for me am done those animations with creature animation tool.
And am not using JSON files . i am using called .creature_pack.