def _make_criterion_from_lists(includes, excludes):
    incl = TargetingCriterion(includes, TargetingCriterion.OPERATOR.OR)
    excl = TargetingCriterion(excludes, TargetingCriterion.OPERATOR.OR)
    if includes and excludes:
        return incl & (~excl)
    elif includes:
        return incl
    elif excludes:
        return ~excl
    else:
        return None
Give a list of items to include and exclude,
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/targeting_utils.py/_make_criterion_from_lists