title: How to detect if scrollToItem will scroll
body: <p>I am trying to scroll a cell at a specific location (<code>.bottom</code>) and after the scroll animation finishes run some code. The problem is that <code>scrollToItem</code> function does not provide a completion handler therefor the only solution is to use the delegate (<code>scrollViewDidEndScrollingAnimation</code>). Using that I have one problem though, if the cell is already at that location <code>.didEndScrollAnim</code>. will never be called.</p>
  
  <p>Is there a way to find if a cell is already at <code>UICollectionView.ScrollPosition.bottom</code> ?</p>
  
  <pre><code>collectionView.scrollToItem(at: indexPath, at: [.bottom,.centeredHorizontally], animated: true)
  </code></pre>
  
  <p>I want to be able to run a part of code when the cell is at the desired location [<code>.bottom</code>] and also animate the scroll if a scroll is needed.</p>