code: func KeyMatch(xu *xgbutil.XUtil,
  	keyStr string, mods uint16, keycode xproto.Keycode) bool {
  
  	guess := LookupString(xu, mods, keycode)
  	return strings.ToLower(guess) == strings.ToLower(keyStr)
  }
docs: // KeyMatch returns true if a string representation of a key can
  // be matched (case insensitive) to the (modifiers, keycode) tuple provided.
  // String representations can be found in keybind/keysymdef.go