title: python: check if url to jpg exists
body: <p>In python, how would I check if a url ending in .jpg exists?</p>
  
  <p>ex:
  <a href="http://www.fakedomain.com/fakeImage.jpg" rel="noreferrer">http://www.fakedomain.com/fakeImage.jpg</a></p>
  
  <p>thanks</p>