Good morning,
Prayers are an opening of the heart, mind, and soul to God. I think that any true prayer, even from a person who sins greatly, would be heard by God.
Sometime, it seems to me, we underestimate the power of God. God can, and does, work through many human beings and events in ways that we can never truly understand.
Blessings on all.