Question: how do you know if someone has your location on iphone?
Answer: There is absolutely no way to know if anyone is tracking you using Find my iPhone. The ONLY way someone can track you is if they know your Apple ID and password, so if you suspect someone is tracking you simply change your password and they won't be able to.