code: def add(self, elem):
          
          if not isinstance(elem, JWK):
              raise TypeError('Only JWK objects are valid elements')
          set.add(self, elem)
docs: Adds a JWK object to the set
  
          :param elem: the JWK object to add.
  
          :raises TypeError: if the object is not a JWK.