Yes. As the other attorneys said, there are many other factors that must be considered to determine whether a court would enforce the contract. It would be best to have an attorney review the terms of the contract to see what type of relief might be available to you.
Best of luck.