The value of obj2['California'] is nan which is not the same as None, so this will return False