is it safe to buy filter mask form amazon site?

I am referring to N95 mask. Are the stuff legitimate?