def _gluster_ok(xml_data):
    return int(xml_data.find('opRet').text) == 0
Extract boolean return value from Gluster's XML output.
dataset/ETHPy150Open saltstack/salt/salt/modules/glusterfs.py/_gluster_ok