def check_has_docstring(self, api):
        '''An API class must have a docstring.'''
        if not api.__doc__:
            msg = 'The Api class "{}" lacks a docstring.'
            return [msg.format(api.__name__)]
An API class must have a docstring.