docs: def get_fun(fun):
      '''
      Return a dict of the last function called for all minions
      '''
      serv = _get_serv(ret=None)
      ret = {}
      for minion in serv.smembers('minions'):
          ind_str = '{0}:{1}'.format(minion, fun)
          try:
              jid = serv.get(ind_str)
          except Exception:
              continue
          if not jid:
              continue
          data = serv.get('{0}:{1}'.format(minion, jid))
          if data:
              ret[minion] = salt.utils.json.loads(data)
      return ret