code: func orderValid(order *corepb.Order) bool {
  	return order.Id != nil && order.BeganProcessing != nil && order.Created != nil && newOrderValid(order)
  }
docs: // orderValid checks that a corepb.Order is valid. In addition to the checks
  // from `newOrderValid` it ensures the order ID, the BeganProcessing fields
  // and the Created field are not nil.