code: def installRetirementFunc(self):
          '''
          Installs a special pLvlNextFunc representing retirement in the correct
          element of self.pLvlNextFunc.  Draws on the attributes T_retire and
          pLvlNextFuncRet.  If T_retire is zero or pLvlNextFuncRet does not
          exist, this method does nothing.  Should only be called from within the
          method updatepLvlNextFunc, which ensures that time is flowing forward.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          if (not hasattr(self,'pLvlNextFuncRet')) or self.T_retire == 0:
              return
          t = self.T_retire
          self.pLvlNextFunc[t] = self.pLvlNextFuncRef installRetirementFunc(self):
          '''
          Installs a special pLvlNextFunc representing retirement in the correct
          element of self.pLvlNextFunc.  Draws on the attributes T_retire and
          pLvlNextFuncRet.  If T_retire is zero or pLvlNextFuncRet does not
          exist, this method does nothing.  Should only be called from within the
          method updatepLvlNextFunc, which ensures that time is flowing forward.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          if (not hasattr(self,'pLvlNextFuncRet')) or self.T_retire == 0:
              return
          t = self.T_retire
          self.pLvlNextFunc[t] = self.pLvlNextFuncRet
docs: Installs a special pLvlNextFunc representing retirement in the correct
          element of self.pLvlNextFunc.  Draws on the attributes T_retire and
          pLvlNextFuncRet.  If T_retire is zero or pLvlNextFuncRet does not
          exist, this method does nothing.  Should only be called from within the
          method updatepLvlNextFunc, which ensures that time is flowing forward.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None