code: public boolean hasBorders() {
  		switch (border) {
  			case UNDEFINED:
  			case NO_BORDER:
  				return false;
  			default:
  				return borderWidth > 0 || borderWidthLeft > 0
  						|| borderWidthRight > 0 || borderWidthTop > 0 || borderWidthBottom > 0;
  		}
  	}
docs: Indicates whether some type of border is set.
  
  @return a boolean