code: 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__)f 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__)]
docs: An API class must have a docstring.