code: def _general_getattr(self, var):
          
          if getattr(self, "_%s__%s" % (self.__class__.__name__, var)) is None \
             and not self.__loaded:
              self._load_properties()
          return getattr(self, "_%s__%s" % (self.__class__.__name__, var))
docs: Generic get attribute function.