Python verificando si algo es igual a nan

# Test to see if it is equal to itself
def isNaN(num):
    return num != num
crookie14