This is wrong and will always return true.

You want to do

>if(istype(thepapervariable, /obj/item/weapon/paper/talisman))