Is it okay for a female general practitioner to check a teen boy?

Yes. The doctor will be professional with the boy. If the boy is uncomfortable, that is different - it is his choice whether he wants a male or female doctor.