code: def get_by_name(self, name, default=None):
          
          for slide_layout in self:
              if slide_layout.name == name:
                  return slide_layout
          return default
docs: Return SlideLayout object having *name* or *default* if not found.