def should_not_sample_path(request):
blacklisted_paths = request.registry.settings.get(<EOL>'<STR_LIT>', [])<EOL>regexes = [<EOL>re.compile(r) if isinstance(r, six.string_types) else r<EOL>for r in blacklisted_paths<EOL>]<EOL>return any(r.match(request.path) for r in regexes)<EOL>
Decided whether current request path should be sampled or not. This is
    checked previous to `should_not_sample_route` and takes precedence.

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