code: def _get_section(self, name, type):
          
          for section in self.sections:
              if section['name'] == name and section['type'] == type:
                  return section
          return None
docs: Find and return a section with `name` and `type`