def contient(self, nom_dossier): if self.nom == nom_dossier: return True for fils in self.fils: return fils.contient(nom_dossier) return False