There is this situation that:
A boy saw a silhouette in the moonlight. Not sure what it actually was, he thought "was it/there really a Martian in his room tonight?"
(Actually the boy is scared of aliens and before this above mentioned scene his sister scared him saying that a Martian would come to his room soon)
How would "it" and "there" change the meaning of the sentence?