A person is not guilty of an offense if his or her conduct is incited or induced by a public officer or employee, or agent of either, for the purpose of obtaining evidence for the prosecution of that person. However, this Section is inapplicable if the person was pre-disposed to commit the offense and the public officer or employee, or agent of either, merely affords to that person the opportunity or facility for committing an offense.
720 ILCS 5/7-12