'Checks if a QOS policy group exists.'

def qos_policy_group_exists(self, qos_policy_group_name):

    api_args = {'query': {'qos-policy-group-info': {'policy-group': qos_policy_group_name}}, 'desired-attributes': {'qos-policy-group-info': {'policy-group': None}}}
    result = self.send_request('qos-policy-group-get-iter', api_args, False)
    return self._has_records(result)
