class_docstr: A ZMQ socket wrapper
docstr: Is there a message that has been received?
code: def msg_ready(self) -> bool:
      """Is there a message that has been received?"""
      assert self.socket is not None
      return bool(self.socket.poll(timeout=0))
  
imports: import asyncio
  import atexit
  import time
  import typing
  from queue import Empty
  from threading import Event, Thread
  import zmq.asyncio
  from jupyter_core.utils import ensure_async
  from ._version import protocol_version_info
  from .channelsabc import HBChannelABC
  from .session import Session
label_desc: Use image node_id 5 for calling the ZMQSocketChannel obj's underlying member method code with example usage: obj.msg_ready() and returns: bool