@overrides
    def is_current_done(self):
        return abs(self.cart.position[0]) > self.max_cart_pos or \
            abs(self.pole.angle) > self.max_pole_angle
dataset/ETHPy150Open rllab/rllab/rllab/envs/box2d/cartpole_env.py/CartpoleEnv.is_current_done/original