In this sentence what does scoping hallway mean?

I was so lost in thought that I wasn’t scoping the hallway.

Did the speaker forget that he's in hallway because of thinking?

Thanks.