def has_next_page(self):
        if self.page_number == 0:
            return True

        return self.next_page_token is not None
Suited as onerror handler for (sh)util.rmtree() that logs a warning.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/iterator.py/Iterator.has_next_page--crossover with--dataset/ETHPy150Open sosy-lab/benchexec/benchexec/util.py/log_rmtree_error