def validate_in(needle,haystack, message='', exception=None):
    if not needle in haystack:
        name,l = scoped_validation()
        ArgCheck(name,exception).validation(False,message,l)
1d-solver generating pairs of approximative root and error.
dataset/ETHPy150Open ooici/pyon/pyon/util/arg_check.py/validate_in--crossover with--dataset/ETHPy150Open fredrik-johansson/mpmath/mpmath/calculus/optimization.py/Pegasus