The City Attorney shall give advice or a written legal opinion on City contracts and all questions of law relating to City matters submitted by the Mayor, Council, members of the Council individually, municipal boards or the head of any municipal department.
(Code of Iowa, Sec. 372.13[4])