Cara Memeriksa Jika Nilai String adalah Nan In Python

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