All corporations existing under this article, together with their books and vouchers, shall be subject to the visitation and inspection of the justices of the supreme court, or of any person or persons who shall be appointed by the supreme court for that purpose; and it shall be the duty of the trustees or a majority of them, in the month of December in each year, to make and file in the office of the county clerk of the county in which the interested city, village or town is situate, a certificate under their hands, stating the names of the trustees and officers of such corporation, with an inventory of the property, effects and liabilities thereof, with an affidavit of the truth of such inventory and certificate. Said trustees shall be entitled to such compensation as said court shall fix. Said court shall also have power to control the discretion of said trustees in determining what property may be demised and for how long; also how much money may be invested and kept invested on interest to produce an income for the purpose of aiding and instructing children or to keep up and maintain the parks or libraries, or either of such purposes; and also in a summary way to determine the reasonableness of any rules and regulations, upon complaint of any inhabitant of the interested city, village or town, and upon notice to said trustees.
N.Y. Gen. Mun. Law § 145