def should_exclude_route(excluded_routes, route_info):
    return (
        route_info.get('route') and
        excluded_routes in route_info['route'].name
    )
dataset/ETHPy150Open striglia/pyramid_swagger/pyramid_swagger/tween.py/should_exclude_route/swapped operands of `in`