func hasBorder(c *xlsx.Cell) bool { if c != nil { if b := c.GetStyle().Border; !(b == defaultBorder || b == emptyBorder) { return true } } return false }