Prayer is one of the ways we communicate with God and this communication is a two-way street. We check what we hear from God and what we say to God via what He’s already said to us through His recorded words in Scripture.
In the secular world, when we send emails to each other, the servers that route these messages around the world have error-checking methods to make sure that the pieces of information received make up the same message that was sent.
On other hand, we are to be persistent in humility, asking the Lord to give us good things and not treating Him like a safe with a stubborn lock to be picked.