def block_until_loaded self name delay while not self is_loaded name t

1
2
3
def block_until_loaded(self,name,delay=5):
while not self.is_loaded(name):
time.sleep(delay)