docs: def _check_section(line, section):
          """Update the section being parsed.
  
          The parser starts in the `OboSection.meta` section but once
          it reaches the first ``[Typedef]``, it will enter the
          `OboSection.typedef` section, and/or when it reaches the first
          ``[Term]``, it will enter the `OboSection.term` section.
  
          """
          if "[Term]" in line:
              section = OboSection.term
          elif "[Typedef]" in line:
              section = OboSection.typedef
          return section