def InstanceOverlap_OLD(instance1,instance2):
    """Returns True if given instances share a vertex."""
    for vertex1 in instance1.vertices:
        if vertex1 in instance2.vertices:
            return True
    return False