code: func (s *StanServer) ftGetStoreLock() (bool, error) {
  	// Normally, the store would be set early and is immutable, but some
  	// FT tests do set a mock store after the server is created, so use
  	// locking here to avoid race reports.
  	s.mu.Lock()
  	store := s.store
  	s.mu.Unlock()
  	if ok, err := store.GetExclusiveLock(); !ok || err != nil {
  		// We got an error not related to locking (could be not supported,
  		// permissions error, file not reachable, etc..)
  		if err != nil {
  			return false, fmt.Errorf("ft: fatal error getting the store lock: %v", err)
  		}
  		// If ok is false, it means that we did not get the lock.
  		return false, nil
  	}
  	return true, nil
  }
docs: // ftGetStoreLock returns true if the server was able to get the
  // exclusive store lock, false othewise, or if there was a fatal error doing so.