In any administration of an estate in probate, wherein the decedent died testate and has established a testamentary trust, and it appears to the court that the operative events have occurred whereby said trust is terminated prior to distribution in whole or in part, the court shall have jurisdiction in its discretion to adjudge and determine that said trust be terminated in whole or in part without further proceedings in any other court of general jurisdiction and may make its decree or order of distribution accordingly to the extent that the trust is no longer operative.