'is vni peer list exist'

def is_vni_peer_list_exist(self, nve_name, vni_id, peer_ip):

    if (not self.nve_info):
        return False
    if (self.nve_info['ifName'] == nve_name):
        for member in self.nve_info['vni_peer_ips']:
            if ((member['vniId'] == vni_id) and (member['peerAddr'] == peer_ip)):
                return True
    return False
