Yes, I believe that it "works", but not in the sense that it changes God's will or what is to be. That is why we should pray as Jesus taught us, to pray that God's will be done here on Earth, to pray first in praise and thanksgiving and then in petition.