In a way. It'd probably have to be more specific than that, though, and it would depend on exactly what you wanted it to do. Most booby trap skills will go off whenever they are triggered, unless the person triggering it knows how to disarm it. There are some spells you can do that will only trigger upon a certain event, or even, in some cases, a specific person.
[voice]