code: func (p *Plugin) GetProcessByName(name string) ProcessInstance {
  	for _, pr := range p.processes {
  		if pr.name == name {
  			return pr
  		}
  	}
  	return nil
  }
docs: // GetProcessByName uses process name to find a desired instance