def _exclude_tags(journal, tags):
    """remain only entries without specified tags"""

    remain_filter = lambda item: 'Tags' == item or not set(item['Tags']).intersection(set(tags))

    return filter(remain_filter, journal)
dataset/ETHPy150Open nathangrigg/dayone_export/dayone_export/__init__.py/_exclude_tags/operator `not in` -> `==`