code: func connectedMouseBind(xu *xgbutil.XUtil, evtype int, win xproto.Window) bool {
  	xu.MousebindsLck.RLock()
  	defer xu.MousebindsLck.RUnlock()
  
  	// Since we can't create a full key, loop through all mouse binds
  	// and check if evtype and window match.
  	for key, _ := range xu.Mousebinds {
  		if key.Evtype == evtype && key.Win == win {
  			return true
  		}
  	}
  	return false
  }
docs: // connectedMouseBind checks to see if there are any key binds for a particular
  // event type already in play. This is to work around comparing function
  // pointers (not allowed in Go), which would be used in 'Connected'.