func IsWeb(ua *user_agent.UserAgent) bool { return !ua.Mobile() }
func IsAndroid(ua *user_agent.UserAgent) bool { os := ua.OS() return ua.Mobile() && strings.Contains(os, "Android") }
func IsWeChat(ua *user_agent.UserAgent) bool { return ua.Mobile() && ua.Wecaht() }
func IsIOS(ua *user_agent.UserAgent) bool { os := ua.OS() return ua.Mobile() && strings.Contains(os, "iPhone OS") }
func IsMobile(ua *user_agent.UserAgent) bool { return ua.Mobile() }