Sorry, this is a bit O/T, but

in america there is the 'entrapment' law right? that if you ask someone who sells you weed if they're a cop then by law they have to tell the truth if they are?

So my question is does a law like this exist in UK?