Any officer authorized to punish for contempt is a court within the meaning of this chapter.
Iowa Code § 665.1