'Confirms the converter is available or not.'

def is_available(self):

    try:
        args = [self.config.image_converter, '-version']
        logger.debug('Invoking    %r    ...', args)
        ret = subprocess.call(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
        if (ret == 0):
            return True
        else:
            return False
    except (OSError, IOError):
        logger.warning(__('convert    command    %r    cannot    be    run.check    the    image_converter    setting'), self.config.image_converter)
        return False
