code: def _filter_attributes(self, keyset):
          
          filtered = self._filter_keys(self.to_dict(), keyset)
          return Language.make(**filtered)
docs: Return a copy of this object with a subset of its attributes set.