def handle_channel_disconnected(self):
        """ Handles a channel being disconnected. """
        for namespace in self.app_namespaces:
            if self._handlers in namespace:
                self._handlers[namespace].channel_disconnected()

        self.app_namespaces = []
        self.destination_id = None
        self.session_id = None
dataset/ETHPy150Open balloob/pychromecast/pychromecast/socket_client.py/SocketClient.handle_channel_disconnected/swapped operands of `in`