def closed(self):
        """
        If the first point is the same as the end point
        the entity is closed
        """
        closed = (len(self.points) > 2 and
                  self.points[0] == self.points[-1])
        return closed