Is my dance instructor flirting?

I've been taking a dance class for two months now and one of the instructors has interacted with me in mostly a serious way. But this passed week he first asked me if I thought he was funnier than one of the other instructors and about 30 seconds later asked, "have I told you you're my favorite student?" He said both playfully, but I'm uncertain if that was him trying to be funny or flirt with me. We danced together and then afterwards he gave me a hug and he hasn't given one before (hugging partners after a dance is normal), andI was OK with it.

What are your thoughts?

Is my dance instructor flirting?
Post Opinion