(a) No person shall falsely pretend or represent himself or herself to be a public official or public servant with intent to induce another to submit to such pretended official authority or otherwise act in reliance upon that pretense to his or her prejudice.
(b) Whoever violates this section is guilty of impersonating a public official or public servant, a misdemeanor of the second degree.