I assume from your answer that there would not be any conditions under which you would deduce that your prayers had NOT been answered?
Yes, unless I pray amiss.
You ask, and receive not, because you ask amiss, that you may
consume it upon your lusts. James 4:3
Your prayer has still been answered if you trust your Heavenly
Father to give you what is best for you. He always wants what is best for you "lacking nothing". Not give you something that you may want that would bring harm to you. A smart person prays for His will to be done in what you pray. It's called trusting God for His very best for you. You may not know that what you want is not in His will for you or what you may be asking forsomeone else may not be in His will for them. If you know His Word(Testament) you will usually always know what His will is for His followers. If not, pray and He will show you what you need. We always
want to "be in position" to receive. That's where we all miss it the most.
To be in position is to be close to Him in the spirit. We need to be more concerned aboutwhat our heavenly Father wants than what we want,
knowing that he wants the very best for us always.
Which of you fathers, if your son asks for a for bread, will he give him
a stone? or if he ask for a fish, will he for a fish give him a serpent?