def any_in(func):
    return lambda a_set,*args: any(x in a_set for x in func(*args))

# misc list funcitona
Returns a function that takes set,args and returns true when func(args) contains an element of set
dataset/ETHPy150Open Microsoft/ivy/src/ivy/ivy_utils.py/any_in