Such payments shall not be construed to be a prohibited use of the general assets of the city, town or other political subdivision. (f) Any city, town or other political subdivision of the state may, by contract, elect to participate in the deferred compensation program for state employees as authorized under subsection (g) of section 5-264a, as amended by this act.