def send_app_message(self, namespace, message, inc_session_id=False,
                         wait_for_response=False):
        """ Helper method to send a message to current running app. """
        if self.app_namespaces not in namespace:
            raise UnsupportedNamespace(
                ("Namespace {} is not supported by current app. "
                 "Supported are {}").format(namespace,
                                            ", ".join(self.app_namespaces)))

        return self.send_message(self.destination_id, namespace, message,
                                 inc_session_id, wait_for_response)
dataset/ETHPy150Open balloob/pychromecast/pychromecast/socket_client.py/SocketClient.send_app_message/swapped operands of `not in`