@classmethod
def validate(cls, change_type):
    """Validate change type and raise ValueError if invalid"""
    if change_type not in cls.types:
        raise ValueError(
            "Invalid script's config change type '%s'. Should be one of %s" %
            (change_type, str(cls.types)))
