def _check_stats(conn):
    stats = conn.get_stats()
    if not stats:
        raise CommandExecutionError(
            'memcached server is down or does not exist'
        )
    return stats
Helper function to check the stats data passed into it, and raise an
dataset/ETHPy150Open saltstack/salt/salt/modules/memcached.py/_check_stats