question: iterates over the children and children 's children to check if a figure is a direct child or indirect child of the given parent . concode_field_sep String TREE_NODE_POSITION concode_elem_sep String TREE_NODE_PARENT_URI concode_elem_sep String TREE_LAYOUT_ANNOTATION concode_field_sep int getTreeNodePosition concode_elem_sep ArrayList<IGraphicalEditPart> getOrderedTreeChildren concode_elem_sep int getNewTreeNodePosition concode_elem_sep List<Connection> getOutgoingConnections concode_elem_sep List<Connection> getIncomingConnections concode_elem_sep List<IGraphicalEditPart> getSiblings concode_elem_sep void setTreeNodesPositionAnnotation concode_elem_sep int getConstrainedTreeNodePosition concode_elem_sep void setTreeNodeParentAnnotation concode_elem_sep List<Connection> getTreeFigureChildrenConnections concode_elem_sep boolean isIgnoredFigure concode_elem_sep List<View> getViews concode_elem_sep int getNextEmptyIndex concode_elem_sep int getDeepestTreeLevel concode_elem_sep View getTreeNodeParentView
target: boolean function ( IFigure arg0 , IFigure arg1 ) { boolean loc0 = false ; for ( Object loc1 : arg0 . getChildren ( ) ) { if ( loc1 == arg1 ) { return true ; } if ( loc1 instanceof IFigure ) { loc0 = isChildFigure ( ( IFigure ) loc1 , arg1 ) ; if ( loc0 ) { break ; } } } return loc0 ; }