`self._soledad` is a proxyObject, right? You should check for None explicitly. Otherwise, you should check with `is not None`.