title: Test whether a UIView is in the middle of animation
body: <p>Is there any way to tell if a UIView is in the middle of an animation?  When I print out the view object while it is moving I notice that there is an "animations" entry:</p>
  
  <pre><code>search bar should end editing: &lt;UISearchBar: 0x2e6240; frame = (0 0; 320 88); text = ''; autoresize = W+BM; animations = { position=&lt;CABasicAnimation: 0x6a69c40&gt;; bounds=&lt;CABasicAnimation: 0x6a6d4d0&gt;; }; layer = &lt;CALayer: 0x2e6e00&gt;&gt;
  </code></pre>
  
  <p>When the animation has stopped and I print the view, the "animations" entry is now gone:</p>
  
  <pre><code>search bar should end editing: &lt;UISearchBar: 0x2e6240; frame = (0 0; 320 88); text = ''; autoresize = W+BM; layer = &lt;CALayer: 0x2e6e00&gt;&gt;
  </code></pre>