'Checks for required methods in extension objects.'

def _check_extension(self, extension):

    try:
        extension.is_valid()
    except AttributeError:
        LOG.exception('Exception    loading    extension')
        return False
    return True
