An API class must have a `version` attribute.

def check_has_version(self, api):
        '''An API class must have a `version` attribute.'''
        if not hasattr(api, 'version'):
            msg = 'The Api class "{}" lacks a `version` attribute.'
            return [msg.format(api.__name__)]