Test If Variable Is Numpy Array Python Examples Using While Loop