def get_status(self):
        try:
            content_str = self._process("%s/ballStatus/ALL" % self.url, get = True)
            content = json.loads(content_str)
            white, yellow, blue, red = content['Balls']
            return {
                'white'  : white  == 0,
                'yellow' : yellow == 0,
                'blue'   : blue   == 0,
                'red'    : red    == 0,
            }
        except:
            traceback.print_exc()
            return {
                'white' : True,
                'yellow': True,
                'blue'  : True,
                'red'   : True,
            }
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/aquarium.py/Proxy.get_status/original