code: def is_ready(self):
          
          try:
              ready, _, _ = self.select.select([self.fileno], [], [],
                                               POLL_TIMEOUT)
              return bool(ready)
          except self.select.error as why:
              if why.args[0] != EINTR:
                  self._exceptions.append(AMQPConnectionError(why))
          return False
docs: Is Socket Ready.
  
          :rtype: tuple