Am I over my ex?

I feel like I’m over my ex but sometimes when I think about the way he used to treat me (it’s not that often though) I still get upset. He even hooked up with my “best friend” recently and even though I have a new boyfriend who I love with my whole heart that still hurt. If my ex were to end up with someone else though I wouldn’t care at all I would never want him back in my life anyways. I guess what I’m saying is can you be over someone but still be sad thinking about all the ways they betrayed you?