def add_to_group(ctx, user, group):
    """Adds a user into a group.

    Returns ``True`` if is just added (not already was there).

    :rtype: bool
    """
    result = ctx.sudo('adduser %s %s' % (user, group)).stdout.strip()
    return 'Adding' in result
