code: def _get_instance_attributes(self):
          
          for name, value in self.__dict__.items():
              if name in map((lambda x: x[0]), self.get_class_attributes()):
                  yield (name, value)
docs: Return a generator for instance attributes' name and value.
  
          .. code-block:: python3
  
              for _name, _value in self._get_instance_attributes():
                  print("attribute name: {}".format(_name))
                  print("attribute value: {}".format(_value))
  
          Returns:
              generator: tuples with attribute name and value.