def stage(self, name):
        """
        Method for searching specific stage by it's name.

        :param name: name of the stage to search.
        :return: found stage or None.
        :rtype: yagocd.resources.stage.StageInstance
        """
        for stage in self.stages():
            if stage.data.name == name:
                return stage
def stage ( self , name ) : for stage in self . stages ( ) : if stage . data . name == name : return stage
Method for searching specific stage by it's name.

        :param name: name of the stage to search.
        :return: found stage or None.
        :rtype: yagocd.resources.stage.StageInstance