@Override(Experiment.Experiment)
    def do_should_finish(self):

        # During the first 30 seconds, poll often but do not check the final server,
        # since it might take few seconds to load the final system.

        if self.start_time < (time.time() - 30):
            if self.debug:
                print "Still initializing. Ask again in 10 seconds"
            return 10

        content    = urllib2.urlopen(self.router_poll).read()
        user_alive = json.loads(content).get('user', 0)
        if self.debug:
            print "User alive? ", user_alive != 0

        if user_alive == 0:
            return -1
        else:
            return self.poll_period # Ask again in this amount of time
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/control_app.py/ControlAppExperiment.do_should_finish/swapped operands of `<`