[2208.12878] DETERRENT: Detecting Trojans using Reinforcement Learning