N.Y. Education Law § 403-A
1. The board of education or trustees of a school district are hereby authorized to adopt a resolution providing that specific real property of such district is not currently needed for school district purposes and that the leasing of such real property is in the best interest of the school district. The terms of such lease shall be subject to the following:
6. Nothing contained herein shall prevent the board of education or trustees of a school district from entering into a lease agreement which provides for the cancellation of the same by such board or trustees upon: