Extract condition function to check the animation has initial value or not