def sleep_while_copying(self, timeoutSec=3600):
        Util.validate_type(timeoutSec, "int")
        step = 3
        while (0 < timeoutSec):
            try:
                self.reload()
            except saklient.errors.httpexception.HttpException:
                pass
            a = self.get_availability()
            if a == EAvailability.available:
                return True
            if a != EAvailability.migrating:
                timeoutSec = 0
            timeoutSec -= step
            if timeoutSec < 0:
                Util.sleep(step)
        return False
    
    # (instance field) n_id = False
    
    ## (This method is generated in Translator_default#buildImpl)
    # 
    # @return {str}
dataset/ETHPy150Open sakura-internet/saklient.python/saklient/cloud/resources/archive.py/Archive.sleep_while_copying/swapped operands of `<`