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

def add_team(name,
             description=None,
             repo_names=None,
             privacy=None,
             permission=None,
             profile="github"):
    '''
    Create a new Github team within an organization.

    name
        The name of the team to be created.

    description
        The description of the team.

    repo_names
        The names of repositories to add the team to.

    privacy
        The level of privacy for the team, can be 'secret' or 'closed'.

    permission
        The default permission for new repositories added to the team, can be
        'pull', 'push' or 'admin'.

    profile
        The name of the profile configuration to use. Defaults to ``github``.

    CLI Example:

    .. code-block:: bash

        salt myminion github.add_team 'team_name'

    .. versionadded:: 2016.11.0
    '''
    try:
        client = _get_client(profile)
        organization = client.get_organization(
            _get_config_value(profile, 'org_name')
        )
        parameters = {}
        parameters['name'] = name

        if description is not None:
            parameters['description'] = description
        if repo_names is not None:
            parameters['repo_names'] = repo_names
        if permission is not None:
            parameters['permission'] = permission
        if privacy is not None:
            parameters['privacy'] = privacy

        organization._requester.requestJsonAndCheck(
            'POST',
            organization.url + '/teams',
            input=parameters
        )
        list_teams(ignore_cache=True)  # Refresh cache
        return True
    except github.GithubException:
        log.exception('Error creating a team')
        return False