def add_reviewer(self, doc, reviewer):
<EOL>self.reset_reviews()<EOL>if validations.validate_reviewer(reviewer):<EOL><INDENT>doc.add_review(review.Review(reviewer=reviewer))<EOL>return True<EOL><DEDENT>else:<EOL><INDENT>raise SPDXValueError('<STR_LIT>')<EOL><DEDENT>
Adds a reviewer to the SPDX Document.
        Reviwer is an entity created by an EntityBuilder.
        Raises SPDXValueError if not a valid reviewer type.