def isNull(val):
    """Returns boolean value for passed value indicating if it is a Null or NaN value"""
    if val == None:
        return True
    elif val != val:
        return True
    else:
        return False
