safety valve ?

I have ge profile gas range. I replaced the igniter and that didn’t work. the igniter works but the oven nor broiler will light. how do I determine if its the safety valve. I can test it but don’t know what to look for. any help would be appreciated. tk