title: How to check if a polygon is empty in Shapely?
body: <p>I'm pretty new to Python so the answer to this question is probably quite simple, but I've looked everywhere and tried a lot but couldn't find the answer. </p>
  
  <p>Simplifying a polygon using Shapely may result in an empty polygon. I want to replace the polygon with a point if the polygon is empty. Something that would work like:</p>
  
  <pre><code>if mypoly is empty:
      mypoly = [(0,0)]
  </code></pre>