class obj1: def aMethod(self): for key in self.obj2.obj3: if self.obj2.obj3[key]._update == True: blah = self.obj2.obj3[key].obj4.omgMethod()