<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def team_absent(name, profile="github", **kwargs):
    '''
    Ensure a team is absent.

    Example:

    .. code-block:: yaml

        ensure team test is present in github:
            github.team_absent:
                - name: 'test'


    The following parameters are required:

    name
        This is the name of the team in the organization.

    .. versionadded:: 2016.11.0
    '''
    ret = {
        'name': name,
        'changes': {},
        'result': None,
        'comment': ''
    }

    target = __salt__['github.get_team'](name, profile=profile, **kwargs)

    if not target:
        ret['comment'] = 'Team {0} does not exist'.format(name)
        ret['result'] = True
        return ret
    else:
        if __opts__['test']:
            ret['comment'] = "Team {0} will be deleted".format(name)
            ret['result'] = None
            return ret

        result = __salt__['github.remove_team'](name, profile=profile, **kwargs)

        if result:
            ret['comment'] = 'Deleted team {0}'.format(name)
            ret['changes'].setdefault('old', 'Team {0} exists'.format(name))
            ret['changes'].setdefault('new', 'Team {0} deleted'.format(name))
            ret['result'] = True
        else:
            ret['comment'] = 'Failed to delete {0}'.format(name)
            ret['result'] = False
    return ret