code: func (m *Meta) IsLocalBackend(b backend.Backend) bool {
  	// Is it a local backend?
  	bLocal, ok := b.(*backendLocal.Local)
  
  	// If it is, does it not have an alternate state backend?
  	if ok {
  		ok = bLocal.Backend == nil
  	}
  
  	return ok
  }
docs: // IsLocalBackend returns true if the backend is a local backend. We use this
  // for some checks that require a remote backend.