Only IF you wear it properly. I have to take a FIT test every year...for the N-95 masks....
and likely not even then. But. at least in the hospital they are combined with face shields and often negative pressure air flow