code: func (b *DynamoDBBackend) getTableStatus(ctx context.Context, tableName string) (tableStatus, error) {
  	td, err := b.svc.DescribeTableWithContext(ctx, &dynamodb.DescribeTableInput{
  		TableName: aws.String(tableName),
  	})
  	err = convertError(err)
  	if err != nil {
  		if trace.IsNotFound(err) {
  			return tableStatusMissing, nil
  		}
  		return tableStatusError, trace.Wrap(err)
  	}
  	for _, attr := range td.Table.AttributeDefinitions {
  		if *attr.AttributeName == oldPathAttr {
  			return tableStatusNeedsMigration, nil
  		}
  	}
  	return tableStatusOK, nil
  }
docs: // getTableStatus checks if a given table exists