Check If Object Is Numpy Array Python