Public buildings owned by the state, or any county, city, school district, or other municipal corporation, or any other public property which is necessary and proper for carrying out the general purpose for which such corporation is organized, are exempt from execution.
Iowa Code § 627.18
See also §626.109