def _in_any(reason, err_haystack):
    for err in err_haystack:
        if reason.find(six.text_type(err)) != -1:
            return True
    return False
Matches all elements that are enabled::
dataset/ETHPy150Open openstack/taskflow/taskflow/persistence/backends/impl_sqlalchemy.py/_in_any--crossover with--dataset/ETHPy150Open gawel/pyquery/pyquery/cssselectpatch.py/JQueryTranslator.xpath_enabled_pseudo