People have all kinds of thoughts that float through their heads. Sometimes you think about your to do list or dream about plans or activities that you're hoping will fall into place in the future. Sometimes you fume about a person or events that hurt you or made your life difficult. No one's thoughts are purely pleasant all the time — they don't always show people at their best (or they wouldn't, if other people knew what they were). But if you get these thoughts, you may think like a sociopath, at least, occasionally.
Now, it's important to emphasize that just because you occasionally have a thought similar to those that someone with antisocial personality disorder (the diagnosis that people sometimes referred to as sociopaths have) would have, it in no way means that you too have the diagnosis. Just because these thoughts might pop into your head from time to time does not mean that you're a sociopath. That's super important. Additionally, even if you were, at some point, diagnosed with the disorder, that doesn't mean that you'll ever commit a crime, as Dr. Deborah J. Cohan, PhD, an associate professor of sociology at the University of South Carolina—Beaufort, tells Romper by email, despite the fact that some people associate sociopathy with criminal behavior.
Though these thoughts don't mean that you are a sociopath, they're thoughts that likely wouldn't be out of the realm of possibility for someone who actually is.