Python Check If Is Numpy Array