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

def connection_factory_absent(name, both=True, server=None):
    '''
    Ensures the transaction factory is absent.

    name
        Name of the connection factory

    both
        Delete both the pool and the resource, defaults to ``true``
    '''
    ret = {'name': name, 'result': None, 'comment': None, 'changes': {}}
    pool_name = '{0}-Connection-Pool'.format(name)
    pool_ret = _do_element_absent(pool_name, 'connector_c_pool', {'cascade': both}, server)

    if not pool_ret['error']:
        if __opts__['test'] and pool_ret['delete']:
            ret['comment'] = 'Connection Factory set to be deleted'
        elif pool_ret['delete']:
            ret['result'] = True
            ret['comment'] = 'Connection Factory deleted'
        else:
            ret['result'] = True
            ret['comment'] = 'Connection Factory doesn\'t exist'
    else:
        ret['result'] = False
        ret['comment'] = 'Error: {0}'.format(pool_ret['error'])
    return ret