Every school district shall be subject to the provisions of “An Act relating to the payment of the cost of corporate suretyship and indemnity upon official bonds”, approved June 7, 1897, as amended.