Vérifiez si l'objet est un tableau comme Python

if hasattr(N, "__len__")
Real Raccoon