N.Y. Estates, Powers & Trusts Law § 3-3.5
limitations thereon
(b) A condition, designed to prevent a disposition from taking effect in case the will is contested by the beneficiary, is operative despite the presence or absence of probable cause for such contest, subject to the following:
(3) The following conduct, singly or in the aggregate, shall not result in the forfeiture of any benefit under the will: