@classmethod
def checkValid(cls, reason):
    """ Raises ValueError if the reason is not one of the valid enumerations
        """
    if reason not in cls.__VALID_REASONS:
        raise ValueError('reason must be one of {}, got {}'.format(cls.
            __VALID_REASONS, reason))
