func isNetworkStatsError(err error) bool {
	matched, mErr := regexp.MatchString(networkStatsErrorPattern, err.Error())
	if mErr != nil {
		seelog.Debugf("Error matching string: %v", mErr)
		return false
	}

	return matched
}
func isNetworkStatsError(err error) bool {
	matched, mErr := regexp.MatchString(networkStatsErrorPattern, err.Error())
	if mErr != nil {
		seelog.Debugf("Error matching string: %v", mErr)
		return false
	}

	return matched
}
// isNetworkStatsError returns if the error indicates that files in /sys/class/net
// could not be opened.