def _update_status(self, status):

        if not status and self._collection:
            self._node.commandFunc(None)
            return

        if self._collection:
            if status:
                self._collection.on_checkbox_changed(self)
                # A radio box can't be unchecked
                # self._node["state"] = DGG.DISABLED

        if self._callback is not None:
            self._callback(*([status] + self._extra_args))
See more: http://developer.oanda.com/rest-live/accounts/
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/gui/checkbox.py/Checkbox._update_status--crossover with--dataset/ETHPy150Open toloco/pyoanda/pyoanda/client.py/Client.get_credentials