arcpy: Set/Check Not a number (NAN)