def METHOD_NAME(viewprovider, make_if_missing = True):
    from pivy import coin
    sa = coin.SoSearchAction()
    sa.setType(coin.SoClipPlane.getClassTypeId())
    sa.setName('TVClipPlane')
    sa.traverse(viewprovider.RootNode)
    if sa.isFound() and sa.getPath().getLength() == 1:
        return sa.getPath().getTail()
    elif not sa.isFound():
        if not make_if_missing:
            return None
        clipplane = coin.SoClipPlane()
        viewprovider.RootNode.insertChild(clipplane, 0)
        clipplane.setName('TVClipPlane')
        clipplane.on.setValue(False) #make sure the plane is not activated by default
        return clipplane