def should_not_sample_route(request):
blacklisted_routes = request.registry.settings.get(<EOL>'<STR_LIT>', [])<EOL>if not blacklisted_routes:<EOL><INDENT>return False<EOL><DEDENT>route_mapper = request.registry.queryUtility(IRoutesMapper)<EOL>route_info = route_mapper(request).get('<STR_LIT>')<EOL>return (route_info and route_info.name in blacklisted_routes)<EOL>
Decided whether current request route should be sampled or not.

    :param: current active pyramid request
    :returns: boolean whether current request route is blacklisted.