(1) A person commits the offense of impersonating a peace officer if he or she falsely pretends to be a peace officer and performs any act in that pretended capacity.

(2) Impersonating a peace officer is a Class IV felony.