Is there a chance of coercion in regards to whether one of the parties entered the contract? Of course there is and if that's the case, it's not a contract.
I don't know what an "unfair negotiating" advantage is, at least not as it regards whether or not I enter a contract, so I can't really weigh in on that.
You can see this principle at work in Britain's short lease (as distinct from a long leases of say 99 years) residential property laws too. A bunch of potential terms for such leases are defined to be unfair. Some landlords - after this change - went to court and said "well, but my tenants signed to say they knew the terms were unfair and agreed anyway - see, it's right here on page sixty of the contact" and judges told them where they could stick their unfair contracts. So sure enough those terms went away.
As to how you tell, courts already know this. If party A wrote the contract and party B's options were to agree or GTFO then party A has an advantage. Its normal contract law - oh, McDonalds signed this lease, but Tiny Co wrote it, so Tiny Co were the ones at advantage and anything unclear must not be construed to their benefit.
If a large enough group of outsiders to the contract don't like the contract and can change the terms after the fact, wouldn't that undermine the confidence for people to enter in to them in the first place?
Anyway, people are free to be upset about terms and conditions even after they've "agreed" to them, particularly if those terms and conditions are widely recognized as onerous.
And, specifically to your point, courts have retroactively determined some conditions to be so flagrantly unfair that they've been stricken from contracts.