Mass. Gen. Laws ch. 106, § 2A-309
(1) In this section:
(4) The perfected interest of a lessor of fixtures has priority over a conflicting interest of an encumbrancer or owner of the real estate if:
(5) The interest of a lessor of fixtures, whether or not perfected, has priority over the conflicting interest of an encumbrancer or owner of the real estate if: