src/main/java/chalmers/pimp/model/canvas/LayerManager.java
boolean isLayerVisible(int layerIndex) {
    if (inBounds(layerIndex)) {
      return layers.get(layerIndex).isVisible();
    } else {
      return false;
    }
  }
/**
   * Indicates whether or not the layer associated with the supplied index is visible. This method
   * has no effect if the supplied index is out-of-bounds.
   *
   * @param layerIndex the layer index of the layer that will be checked.
   * @return {@code true} if the layer associated with the supplied index is visible; {@code false}
   * otherwise.
   */
Indicates whether or not the layer associated with the supplied index is visible. This method
has no effect if the supplied index is out-of-bounds.

@param layerIndex the layer index of the layer that will be checked.
@return  true if the layer associated with the supplied index is visible;  false
otherwise.
Indicates whether or not the layer associated with the supplied index is visible . This method has no effect if the supplied index is out - of - bounds . @param layerIndex the layer index of the layer that will be checked . @return true if the layer associated with the supplied index is visible ; false otherwise .
boolean isLayerVisible(int layerIndex) {
    if (inBounds(layerIndex)) {
      return layers.get(layerIndex).isVisible();
    } else {
      return false;
    }
  }
boolean isLayerVisible ( int layerIndex ) { if ( inBounds ( layerIndex ) ) { return layers . get ( layerIndex ) . isVisible ( ) ; } else { return false ; } }
Indicates whether or not the layer associated with the supplied index is visible.
Indicates whether or not the layer associated with the supplied index is visible .