Python Check If Nan In Numpy Array