(1) one or both entities is a corporation, and one entity and any party related to that entity in a manner that would require an attribution of stock from the corporation to the party or from the party to the corporation under the attribution rules of section 318 of the Internal Revenue Code owns directly, indirectly, beneficially, or constructively at least 50 percent of the value of the corporat