'Checks for required methods in extension objects.'

def _check_extension(self, extension):

    try:
        LOG.debug('Ext    name:    %s', extension.name)
        LOG.debug('Ext    alias:    %s', extension.alias)
        LOG.debug('Ext    description:    %s', '    '.join(extension.__doc__.strip().split()))
        LOG.debug('Ext    updated:    %s', extension.updated)
    except AttributeError:
        LOG.exception('Exception    loading    extension.')
        return False
    return True
