If permitted by either general or special State law, a lease may provide that it shall terminate and the leased property shall revert to the member town if the town should no longer be a member of the Pentucket Regional School District or if the Regional District School Committee should determine that the land, with the building and other improvements thereon, is no longer needed for the education