private static boolean hasSelectionHandle(final PNode node){
  for (Iterator i=node.getChildrenIterator(); i.hasNext(); ) {
    PNode n=(PNode)i.next();
    if (n instanceof SelectionHandle) {
      return true;
    }
  }
  return false;
}

private static boolean hasSelectionHandle ( final PNode node ) { for ( Iterator i = node . getChildrenIterator ( ) ; i . hasNext ( ) ; ) { PNode n = ( PNode ) i . next ( ) ; if ( n instanceof SelectionHandle ) { return true ; } } return false ; }
return true if the specified node has a selection handle as a child .
