code: def is_running(fun):
      '''
      If the named function is running return the data associated with it/them.
      The argument can be a glob
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' saltutil.is_running state.highstate
      '''
      run = running()
      ret = []
      for data in run:
          if fnmatch.fnmatch(data.get('fun', ''), fun):
              ret.append(data)
      return ref is_running(fun):
      '''
      If the named function is running return the data associated with it/them.
      The argument can be a glob
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' saltutil.is_running state.highstate
      '''
      run = running()
      ret = []
      for data in run:
          if fnmatch.fnmatch(data.get('fun', ''), fun):
              ret.append(data)
      return ret
docs: If the named function is running return the data associated with it/them.
      The argument can be a glob
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' saltutil.is_running state.highstate