Add method for checking whether a polygon is closed
Needed for airport coordinate optimizations in KItinerary.