Not exactly. Notice the phrase "give the impression" in the clause? It has nothing to do with wearing badges, but the intent behind the act. In other words, one cannot wear a uniform or badge that gives the impression they are under the jurisdiction of the "federal government, a state government, or any political subdivision of a state government." It is perfectly legal for a security guard to wear a badge identifying him or her as a security guard & if the badge is provided by the licensed company.