def METHOD_NAME():
    sess, ctx, reused = connect()
    assert has_ticket(sess), 'tickets True'
    assert not reused, 'tickets True not reused'
    sess, ctx, reused = connect(ctx, sess)
    assert has_ticket(sess), 'tickets True reconnect'
    assert reused, 'tickets True reused'
    set_tickets(tickets=False)
    sess, _, _ = connect()
    assert not has_ticket(sess), 'tickets False'
    assert 'success' in client.conf_delete(
        'listeners/*:7080/tls/session/tickets'
    ), 'tickets default configure'
    sess, _, _ = connect()
    assert not has_ticket(sess), 'tickets default (false)'