code: def release_lock(self):
      
      if not self._lock.acquired:
        return False
      else:
        self._lock.release()
        return True
docs: Release the global lock if it's held.
      Returns True if the lock was held before this call.
  
      :API: public