code: def _find_nml(self):
          
          nml_start = None
          nml_end = None
          for i in range(len(self.lines)):
              if self.lines[i].strip().startswith("&"):
                  nml_start = i
  
              if self.lines[i].strip().startswith("/"):
                  nml_end = i
          assert (
              nml_start is not None and nml_end is not None
          ), "Could not find namelist within {}".format(self.filepath)
          return nml_end, nml_start
docs: Find the start and end of the embedded namelist.
  
          Returns
          -------
          (int, int)
              start and end index for the namelist