def value_check(inval):
    """
    Check if a value is equal to None
    
    :param inval: the input value
    :param inval: float
    :return: 1 if the input value is None, 0 otherwise
    :return type: integer
    """
    result = 0
    if inval is None:
        result = 1
    return result