code: def get_objects_from_from_queues(self):
          
          _t0 = time.time()
          had_some_objects = False
          for module in self.modules_manager.get_external_instances():
              queue = module.from_q
              if not queue:
                  continue
              while True:
                  queue_size = queue.qsize()
                  if queue_size:
                      statsmgr.gauge('queues.from.%s.count' % module.get_name(), queue_size)
                  try:
                      obj = queue.get_nowait()
                  except Full:
                      logger.warning("Module %s from queue is full", module.get_name())
                  except Empty:
                      break
                  except (IOError, EOFError) as exp:
                      logger.warning("Module %s from queue is no more available: %s",
                                     module.get_name(), str(exp))
                  except Exception as exp:  # pylint: disable=broad-except
                      logger.error("An external module queue got a problem '%s'", str(exp))
                  else:
                      had_some_objects = True
                      self.add(obj)
          statsmgr.timer('queues.time', time.time() - _t0)
  
          return had_some_objects
docs: Get objects from "from" queues and add them.
  
          :return: True if we got something in the queue, False otherwise.
          :rtype: bool