def has_documented_fields(self, include_inherited_fields=False):
fields = self.all_fields if include_inherited_fields else self.fields<EOL>for field in fields:<EOL><INDENT>if field.doc:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Returns whether at least one field is documented.