def should_include(path, exclude_patterns, include_patterns):
    for pattern in exclude_patterns:
        if match_path(path, pattern):
            for pattern in include_patterns:
                if match_path(path, pattern):
                    return True
            return False
    return True
serialization_id is used to keep items locally sorted and unique
dataset/ETHPy150Open docker/docker-py/docker/utils/utils.py/should_include--crossover with--dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/activity.py/Activity.serialization_id