do girls have intrusive thoughts just as bad as boys ?

Like I would definitely be in jail if my intrusive thoughts won, is it just as bad for girls too?