Does an author’s agenda mean that you should ignore their arguments?

A. Yes, if the author has an agenda, their arguments are invalid.

B. No, if the author has an agenda, you should keep it in mind while evaluating their arguments.