def _compare_delivery_policies(self, policy_a, policy_b):
    _policy_a = copy.deepcopy(policy_a)
    _policy_b = copy.deepcopy(policy_b)
    if ('http' in policy_a):
        if ('disableSubscriptionOverrides' not in policy_a['http']):
            _policy_a['http']['disableSubscriptionOverrides'] = False
    if ('http' in policy_b):
        if ('disableSubscriptionOverrides' not in policy_b['http']):
            _policy_b['http']['disableSubscriptionOverrides'] = False
    comparison = (_policy_a != _policy_b)
    return comparison
def _compare_delivery_policies(self, policy_a, policy_b):
    _policy_a = copy.deepcopy(policy_a)
    _policy_b = copy.deepcopy(policy_b)
    if ('http' in policy_a):
        if ('disableSubscriptionOverrides' not in policy_a['http']):
            _policy_a['http']['disableSubscriptionOverrides'] = False
    if ('http' in policy_b):
        if ('disableSubscriptionOverrides' not in policy_b['http']):
            _policy_b['http']['disableSubscriptionOverrides'] = False
    comparison = (_policy_a != _policy_b)
    return comparison