def handler():
            nonlocal called
            called += 1
            raise ValueError("yeah sync")
def _pool_is_licensed(self):
        if self.have.state == 'LICENSED':
            return True
        return False