The apostle John gave us the way by which we may know a spirit is from God.
Beloved, don’t believe every spirit, but test the spirits, whether they are of God, because many false prophets have gone out into the world. By this you know the Spirit of God: every spirit who confesses that Jesus Christ has come in the flesh is of God, and every spirit who doesn’t confess that Jesus Christ has come in the flesh is not of God; and this is the spirit of the Antichrist, of whom you have heard that it comes. Now it is in the world already. You are of God, little children, and have overcome them, because greater is he who is in you than he who is in the world. They are of the world. Therefore they speak of the world, and the world hears them. We are of God. He who knows God listens to us. He who is not of God doesn’t listen to us. By this we know the spirit of truth, and the spirit of error.
How to recognize a Godly messenger: He or She will immediately call you by your name and tell you how your last prayers will be answered.
So, pray... If whatever appears does not mention your prayer, then it's a trick that either you or someone malevolent play on yourself.
The apostle John gave us the way by which we may know a spirit is from God.