Those contracts are unlawful which are:

1. Contrary to an express provision of law.

2. Contrary to the policy of express law, though not expressly prohibited; or, 3. Otherwise contrary to good morals.

R.L.1910, § 972.