Generally, a trust is subject to tax in California “if the fiduciary or beneficiary (other than a beneficiary whose interest in such trust is contingent) is a resident, regardless of the residence of the settlor.” See Cal. Rev.