def ip_in_list(ip, l):
    for c in l:
        if cidr_overlap(ip, c):
            return True
    return False
Check if IP address given as string is in the list.
dataset/ETHPy150Open securitykiss-com/rfw/rfw/iputil.py/ip_in_list