code: def _initialize_from_model(self, model):
          
          for name, value in model.__dict__.items():
              if name in self._properties:
                  setattr(self, name, value)
docs: Loads a model from