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

def delete_object(objref, **api_opts):
    '''
    Delete infoblox object. This is a low level api call.

    CLI Example:

    .. code-block:: bash

        salt-call infoblox.delete_object objref=[ref_of_object]
    '''
    if '__opts__' in globals() and __opts__['test']:
        return {'Test': 'Would attempt to delete object: {0}'.format(objref)}
    infoblox = _get_infoblox(**api_opts)
    return infoblox.delete_object(objref)