Each contract to which the state, any public department or official thereof, or a commission appointed pursuant to law is a party and which is of such a character that the employees engaged thereon are required to be insured by the provisions of the workmen's compensation law shall contain a stipulation that the same shall be void and of no effect unless the person or corporation making or performing the same shall secure compensation for the benefit of, and keep insured during the life of said contract, such employees, in compliance with the provisions of such law.
N.Y. State Fin. Law § 142