code: @Pure
  	public final boolean isTemporaryLayer() {
  		MapLayer layer = this;
  		GISLayerContainer<?> container;
  		while (layer != null) {
  			if (layer.isTemp) {
  				return true;
  			}
  			container = layer.getContainer();
  			layer = container instanceof MapLayer ? (MapLayer) container : null;
  		}
  		return false;
  	}
docs: Replies if this layer was mark as temporary lyer.
  
  <p>A temporary layer means that any things inside this layer is
  assumed to be lost when the layer will be destroyed.
  
  @return <code>true</code> if this layer is temporary, otherwise <code>false</code>