Guy keeps staring at me while he's talking to someone else..attraction?

i was with my friend and we were sitting with this guy we knew. she was talking to him but he kept looking at me the whole time..every second his eyes would look back right at me, even though she was the one talking to him and I was just mostly listening.

he kept giving me looks while she's speaking to him does that mean he's checking me out?