docs: def close(self):
          """Close any existing BFD structure before open a new one."""
          if self._ptr:
              #try:
              #    # Release inner BFD files in case we're an archive BFD.
              #    if self.is_archive:
              #        [inner_bfd.close() for inner_bfd in self.archive_files]
              #except TypeError, err:
              #    pass
  
              try:
                  _bfd.close(self._ptr)
              except TypeError, err:
                  raise BfdException("Unable to close bfd (%s)" % err)
              finally:
                  self._ptr = None