do condoms prevent against chlamydia

if A has sex with B, and B has chlamydia but they used a condom, is A safe from the chlamydia?

*A knows B might have chlamydia.