def nan_in_iterable(iterable) -> bool:
    """
    :param iterable: iterable to check
    :return: true if NaN is in iterable, false otherwise
    """
    for v in iterable:
        if v != v:
            return True
    return False