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(f'adduser {user} {group}').stdout.strip()
    return 'Adding' in result