code: def _release_lock(self):
          
          if not self._has_lock():
              return
  
          # if someone removed our file beforhand, lets just flag this issue
          # instead of failing, to make it more usable.
          lfp = self._lock_file_path()
          try:
              rmfile(lfp)
          except OSError:
              pass
          self._owns_lock = False
docs: Release our lock if we have one