title: check for last div with a specific id on a page
body: <p>I have the following markup:</p>
  
  <pre><code>&lt;div id="div-1"&gt;1st div&lt;/div&gt;
  &lt;div id="div-2"&gt;2nd div&lt;/div&gt;
  &lt;div id="div-3"&gt;3rd div&lt;/div&gt;
  &lt;div id="div-4"&gt;4th div&lt;/div&gt;
  &lt;div id="div-5"&gt;5st div&lt;/div&gt;
  </code></pre>
  
  <p>How can I test if 5st div is the last div with the id of div-%s on the page?</p>