func (sid SteamID) IsValid() bool {
	if sid.idType <= steamIDType.INVALID || sid.idType > steamIDType.ANON_USER {
		return false
	}

	if sid.universe <= universe.INVALID || sid.universe > universe.DEV {
		return false
	}

	if sid.idType == steamIDType.INDIVIDUAL && (sid.accountid == 0 || sid.instance > instance.WEB) {
		return false
	}

	if sid.idType == steamIDType.CLAN && (sid.accountid == 0 || sid.instance != instance.ALL) {
		return false
	}

	if sid.idType == steamIDType.GAMESERVER && sid.accountid == 0 {
		return false
	}

	return true
}
// IsValid Check whether this SteamID is valid (according to Steam's rules)

IsValid Check whether this SteamID is valid (according to Steam's rules)
// IsValid Check whether this SteamID is valid ( according to Steam ' s rules )
func (sid SteamID) IsValid() bool {
	if sid.idType <= steamIDType.INVALID || sid.idType > steamIDType.ANON_USER {
		return false
	}
	if sid.universe <= universe.INVALID || sid.universe > universe.DEV {
		return false
	}
	if sid.idType == steamIDType.INDIVIDUAL && (sid.accountid == 0 || sid.instance > instance.WEB) {
		return false
	}
	if sid.idType == steamIDType.CLAN && (sid.accountid == 0 || sid.instance != instance.ALL) {
		return false
	}
	if sid.idType == steamIDType.GAMESERVER && sid.accountid == 0 {
		return false
	}
	return true
}
func ( sid SteamID ) IsValid ( ) bool { if sid . idType <= steamIDType . INVALID || sid . idType > steamIDType . ANON_USER { return false } if sid . universe <= universe . INVALID || sid . universe > universe . DEV { return false } if sid . idType == steamIDType . INDIVIDUAL && ( sid . accountid == 0 || sid . instance > instance . WEB ) { return false } if sid . idType == steamIDType . CLAN && ( sid . accountid == 0 || sid . instance != instance . ALL ) { return false } if sid . idType == steamIDType . GAMESERVER && sid . accountid == 0 { return false } return true }
IsValid Check whether this SteamID is valid (according to Steam's rules)
IsValid Check whether this SteamID is valid ( according to Steam ' s rules )