docstr: Returns whether there are any pending results to return.
  
  Returns
  -------
  ``True`` if there are any pending results not yet returned.
  
  Examples
  --------
  >>> pool = ActorPool(...)
  >>> pool.submit(lambda a, v: a.double.remote(v), 1)
  >>> print(pool.has_next())
  True
  >>> print(pool.get_next())
  2
  >>> print(pool.has_next())
  False
code: def has_next(self):
      """
      Returns whether there are any pending results to return.
  
      Returns
      -------
      ``True`` if there are any pending results not yet returned.
  
      Examples
      --------
      >>> pool = ActorPool(...)
      >>> pool.submit(lambda a, v: a.double.remote(v), 1)
      >>> print(pool.has_next())
      True
      >>> print(pool.get_next())
      2
      >>> print(pool.has_next())
      False
      """
      return bool(self._future_to_actor)
  
imports: import copy
  import logging
  from functools import partial
  from typing import Any, Callable, Dict, Generator, List, Optional, Tuple, Union
  import numpy
  from scipy import sparse
  import ray
label_desc: Use image node_id 5 for calling the ActorPool obj's underlying member method code with example usage: obj.has_next() and returns: bool