def has_documented_type_or_params(self):
return self.doc or self.has_documented_params()<EOL>
Returns whether this type, or any of its parameters, are documented.

        Use this when deciding whether to create a block of documentation for
        this type.