God is omniscient apparently so it would know if it had been created by a creator, if it was created then it's a theist, and depending if that creator is a needy God, it must worship that God. If it knew it had created itself then it would be a theist and worship itself.
If it knew it had always existed then it is probably wondering if it's really omniscient.
If it knew it had always existed then it is probably wondering if it's really omniscient.