code: def close(self):
          '''Closes the handle, if it is still open.
  
          Usually, you should prefer using the handle as a context manager to
          calling :meth:`close` manually.'''
          if self.handle is not None:
              self.close_handle(self.nsdk, self.handle)
              self.handle = Nonf close(self):
          '''Closes the handle, if it is still open.
  
          Usually, you should prefer using the handle as a context manager to
          calling :meth:`close` manually.'''
          if self.handle is not None:
              self.close_handle(self.nsdk, self.handle)
              self.handle = None
docs: Closes the handle, if it is still open.
  
          Usually, you should prefer using the handle as a context manager to
          calling :meth:`close` manually.