code: def __print_stats(servers=None):
      "print stats from the pp.Server"
      FROM_STATE = True
      if servers is None:
          servers = list(__STATE.values())
      else:
          FROM_STATE = False
      try:
          servers = tuple(servers)
      except TypeError:
          servers = (servers,)
      if not servers:
          msg = "; no active" if FROM_STATE else " for the requested"
          print("Stats are not available%s servers.\n" % msg)
          return
      for server in servers:  # fails if not pp.Servers
          # XXX: also print ids? (__STATE.keys())?
          server.print_stats()
      return
  
imports: from pathos.helpers import parallelpython
  from pathos.helpers import cpu_count
  import builtins
  from pathos.abstract_launcher import AbstractWorkerPool
  from pathos.helpers.pp_helper import ApplyResult, MapResult
label_desc: Use image node_id 1 for calling a global function with example usage: __print_stats(servers) without return types