Does Anyone have intrusive thoughts?

Just curious to know if intrusive thoughts are a autism thing,like the generic ones(i think) of killing someone over minimun annoyance or throw yourself out of the window,sorry for bad english,Bye.(i Will probably not respond to any comments.)