>Contrary to popular belief, the United States does not require police officers to identify themselves as police in the case of a sting or other undercover work, and police officers may lie when engaged in such work. The law of entrapment instead focuses on whether people were enticed to commit crimes they would not have otherwise considered in the normal course of events.
--your source
Not as straightforward as you're implying.