Just to update this thread: If you need to disable the constraint at runtime the function is called “Set Plane Constraint Enabled” and the get is called “Get Constraint to Plane”.
I don’t know why they’re called differently but I had to search through the source code to find the setter, so I hope to help someone who will find this post in the future before the actual solution (like I did)