def ensure_value_is_not_none(instance, attribute, value):
    """
    A helper function to ensure that the values for
    the time is not none
    """
    if value is None:
        raise ValueError("Value can't be None")
