code: def is_valid(self):
          
          if self.type == EType.Invalid or self.type >= EType.Max:
              return False
  
          if self.universe == EUniverse.Invalid or self.universe >= EUniverse.Max:
              return False
  
          if self.type == EType.Individual:
              if self.id == 0 or self.instance > 4:
                  return False
  
          if self.type == EType.Clan:
              if self.id == 0 or self.instance != 0:
                  return False
  
          if self.type == EType.GameServer:
              if self.id == 0:
                  return False
  
          if self.type == EType.AnonGameServer:
              if self.id == 0 and self.instance == 0:
                  return False
  
          return True
docs: Check whether this SteamID is valid
  
          :rtype: :py:class:`bool`