def _check_extension(self, extension):
        """Checks for required methods in extension objects."""
        try:
            LOG.debug('Ext name: %s', extension.get_name())
            LOG.debug('Ext alias: %s', extension.get_alias())
            LOG.debug('Ext description: %s', extension.get_description())
            LOG.debug('Ext updated: %s', extension.get_updated())
        except __HOLE__:
            LOG.exception(_LE("Exception loading extension"))
            return False
        return isinstance(extension, ExtensionDescriptor)
dataset/ETHPy150Open openstack/neutron/neutron/api/extensions.py/ExtensionManager._check_extension