Numpy Test If Nan In Array Python