The City Attorney shall prepare those contracts, forms, and other legal documents and writings which may be required for the use of the City. The City Attorney shall examine and render an opinion upon the legality and form of and recommended alterations for any legal document which binds or obligates the City prior to the time that such documents become binding or obligatory upon the City.
(Code of Iowa, Sec. 372.13[4])