'is vni protocol change'

def is_vni_protocol_change(self, nve_name, vni_id, protocol_type):

    if (not self.nve_info):
        return True
    if (self.nve_info['ifName'] == nve_name):
        for member in self.nve_info['vni_peer_protocols']:
            if ((member['vniId'] == vni_id) and (member['protocol'] == protocol_type)):
                return False
    return True
