Yes. Having mold in an apartment is not a defense to an eviction proceeding. If the mold is the landlord's fault, and you notified the landlord properly, and he did nothing to remediate the mold, then you may have a partial defense if your eviction is based on nonpayment of rent.