Was he trying to flirt?

So Ive been at my job for about a year now and I’m usually deemed as the quiet one so people just talk to me here and there if we go on break or something. Well today, someone that I’ll occasionally joke with and talk to seems to have made it a point to talk to me more today. For example, I was doing dishes and he walked all the way over to me from his job and just starts saying “oh, (my name) amuse me, I’m bored” and stuff. I had to return to a different task a few minutes ago but I thought it was kinda odd. A few hours later, he walks by me again and asks if my boyfriend got me the necklace I was wearing, which I thought was weird bc I’ve never mentioned my love life. (Still single) I told him it was from one of my close friends family member and he goes “oh I like it” and I was like “why do you ask” and he just says “bc it looks nice”. My friends think this was his way of trying to ask if I had a boyfriend but idk.