private boolean imageOutline(DefaultMutableTreeNode node){
  boolean isOutline=false;
  if (node != null) {
    DefaultMutableTreeNode parentNode=(DefaultMutableTreeNode)node.getParent();
    if (parentNode != null) {
      if (parentNode.getUserObject() instanceof RasterSymbolizer) {
        isOutline=true;
      }
    }
  }
  return isOutline;
}

private boolean imageOutline ( DefaultMutableTreeNode node ) { boolean isOutline = false ; if ( node != null ) { DefaultMutableTreeNode parentNode = ( DefaultMutableTreeNode ) node . getParent ( ) ; if ( parentNode != null ) { if ( parentNode . getUserObject ( ) instanceof RasterSymbolizer ) { isOutline = true ; } } } return isOutline ; }
check to see if symbolizer is an image outline .
