return True if the acl need to be update, False if it doesn't need to be update

def _acl_changes(name, id=None, type=None, rules=None, consul_url=None, token=None):
    '''
       return True if the acl need to be update, False if it doesn't need to be update
    '''
    info = __salt__['consul.acl_info'](id=id, token=token, consul_url=consul_url)

    if info['res'] and info['data'][0]['Name'] != name:
        return True
    elif info['res'] and info['data'][0]['Rules'] != rules:
        return True
    elif info['res'] and info['data'][0]['Type'] != type:
        return True
    else:
        return False