All contracts for work for the state of Washington, or any political subdivision created by its laws, shall provide that they may be canceled by the officers or agents authorized to contract for or supervise the execution of such work, in case such work is not performed in accordance with the policy of the state relating to such work.