nment;(B) a juror;(C) an arbitrator, referee, or other person who is authorized by law or private written agreement to hear or determine a cause or controversy;(D) an attorney or notary public when participating in the performance of a governmental function; or(E) a person who is performing a governmental function under a claim of right but is not legally qualified to do so.