But certain states, including California, do have total noncompete bans. But not sure in which sense you meant unenforceable. Where they haven't been banned by legislatures outright, courts haven't declined to enforce them unless they are unreasonable.