My mother and my brother both had no contest clauses in their will. My mothers read that anyone that contested her will was to be considered predeceased to herself.
I like that clause
I know of one time that didn’t play well. A lot money at stake and the one that originally contested did get her a better deal after legal fees and years of contention