Add a method to test if a perturbation affects a specific node