So überprüfen Sie, ob ein String -Wert in Python Nan ist

if(term != term):
	print("it's a nan value")
the other guy