The biggest litmus test to see if someone is purely opportunistic is if they only reach out to you when they need something and fail to return favors if they have no use for you at the time.

I remove these people from my life entirely.