code: def read_lock(self):
          '''Find out who currently owns the namespace global lock.
  
          This is purely a diagnostic tool.  If you are trying to get
          the global lock, it is better to just call :meth:`lock`, which
          will atomically get the lock if possible and retry.
  
          :return: session identifier of the lock holder, or :const:`None`
  
          '''
          return redis.Redis(connection_pool=self.pool).get(self._lock_namef read_lock(self):
          '''Find out who currently owns the namespace global lock.
  
          This is purely a diagnostic tool.  If you are trying to get
          the global lock, it is better to just call :meth:`lock`, which
          will atomically get the lock if possible and retry.
  
          :return: session identifier of the lock holder, or :const:`None`
  
          '''
          return redis.Redis(connection_pool=self.pool).get(self._lock_name)
docs: Find out who currently owns the namespace global lock.
  
          This is purely a diagnostic tool.  If you are trying to get
          the global lock, it is better to just call :meth:`lock`, which
          will atomically get the lock if possible and retry.
  
          :return: session identifier of the lock holder, or :const:`None`