def validate_subscription_type(value):
    if NOTIFICATION_TYPES not in value:
        raise ValidationValueError
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/notifications/model.py/validate_subscription_type/swapped operands of `not in`