code: func (s *lockableNameSet) Check(blobSha string) (string, bool) {
  	if s == nil || s.opt == nil || s.set == nil {
  		return "", false
  	}
  
  	name, ok := s.opt.GetName(blobSha)
  	if !ok {
  		return name, ok
  	}
  
  	if s.set.Contains(name) {
  		return name, true
  	}
  	return name, false
  }
docs: // Determines if the given blob sha matches a locked file.