def filter_or(item, filter):
    """Return True if matching fields two dictionaries have any same values."""
    if not item or not filter:
        return False
    return set(item.items()).intersection(set(filter.items()))
