code: func (c *Connector) CheckSchemaStatus(ctx context.Context, scope, namePrefix string, version int32) (*dosa.SchemaStatus, error) {
  	request := dosarpc.CheckSchemaStatusRequest{Scope: &scope, NamePrefix: &namePrefix, Version: &version}
  	response, err := c.client.CheckSchemaStatus(ctx, &request, getHeaders(c.headers)...)
  
  	if err != nil {
  		if !dosarpc.Dosa_CheckSchemaStatus_Helper.IsException(err) {
  			return nil, errors.Wrap(err, "failed to CheckSchemaStatus due to network issue")
  		}
  
  		return nil, wrapError(err, "failed to CheckSchemaStatus", scope)
  	}
  
  	status := ""
  	if response.Status != nil {
  		status = *response.Status
  	}
  
  	if response.Version == nil {
  		return nil, errors.New("failed to ChecksShemaStatus: server returns version nil")
  	}
  
  	return &dosa.SchemaStatus{
  		Version: *response.Version,
  		Status:  status,
  	}, nil
  }
docs: // CheckSchemaStatus checks the status of specific version of schema