Periksa apakah objek adalah array seperti python

if hasattr(N, "__len__")
Real Raccoon