def is_sequence(item):
    return hasattr(item, "__iter__")
Determine which constraints are active in a given point.
dataset/ETHPy150Open STIXProject/python-stix/stix/utils/__init__.py/is_sequence--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/optimize/_lsq/common.py/find_active_constraints