'Returns true if this feature overlaps another template feature.'

def _templateOverlaps(self, other):

    (maxx, minx, maxy, miny) = self.extents()
    overlap = False
    for p in other.points:
        if ((p[0] <= maxx) and (p[0] >= minx) and (p[1] <= maxy) and (p[1] >= miny)):
            overlap = True
            break
    return overlap
