code: func NewGRPCProviderServerShim(p terraform.ResourceProvider) *GRPCProviderServer {
  	sp, ok := p.(*schema.Provider)
  	if !ok {
  		return nil
  	}
  
  	return &GRPCProviderServer{
  		provider: sp,
  	}
  }
docs: // NewGRPCProviderServerShim wraps a terraform.ResourceProvider in a
  // proto.ProviderServer implementation. If the provided provider is not a
  // *schema.Provider, this will return nil,