Added helper method for checking if a UIView is in the middle of an animation.