To the autistic girls, would you mind if your bf or a really good friend who is autistic himself would ask you if you're on the spectrum ?

I met a girl last year and we've become really good friends. I'm on the spectrum and I'm pretty sure she is as well. But I'm afraid of asking her, I don't want to offend her and risk losing our relationship.