code: def stages(self):
          
          if self._stage_manager is None:
              self._stage_manager = StageManager(session=self._session)
          return self._stage_manager
docs: Property for accessing :class:`StageManager` instance, which is used to manage stages.
  
          :rtype: yagocd.resources.stage.StageManager