human
Complete the below
def _connect(**kwargs):

    ''''Initialise netscaler connection'
    '''
assistant
#Here is the Python code you requested.
    connargs = dict()
    def __connarg(name, key=None, default=None):
        "\n                                Add    key    to    connargs,    only    if    name    exists    in    our    kwargs    or    as\n                                netscaler.<name>    in    __opts__    or    __pillar__    Evaluate    in    said    order    -    kwargs,\n                                opts    then    pillar.    To    avoid    collision    with    other    functions,    kwargs-based\n                                connection    arguments    are    prefixed    with    'netscaler_'    (i.e.\n                                'netscaler_host',    'netscaler_user',    etc.).\n                                "
        if (key is None):
            key = name
        if (name in kwargs):
            connargs[key] = kwargs[name]
        else:
            prefix = 'netscaler_'
            if name.startswith(prefix):
                try:
                    name = name[len(prefix):]
                except IndexError:
                    return
            val = __salt__['config.option']('netscaler.{0}'.format(name), None)
            if (val is not None):
                connargs[key] = val
            elif (default is not None):
                connargs[key] = default
    __connarg('netscaler_host', 'host')
    __connarg('netscaler_user', 'user')
    __connarg('netscaler_pass', 'pass')
    __connarg('netscaler_useSSL', 'useSSL', True)
    nitro = NSNitro(connargs['host'], connargs['user'], connargs['pass'], connargs['useSSL'])
    try:
        nitro.login()
    except NSNitroError as error:
        log.debug('netscaler    module    error    -    NSNitro.login()    failed:    {0}'.format(error))
        return None
    return nitro