Tested this on showdown.
Source: tried it out on showdown
Hope I helped!
Question 1: Nope, it doesn't activate if the user is behind a Substitute
Question 2 No, it will work even if the holder is attacked by a Special move
Question 1: Here
Question 1 Knowledge
Hope I helped!!