If you hire a chef to cook your dinner you may have to sign a contract.