public static boolean has ( Xml root , String group ) { Check . notNull ( root ) ; Check . notNull ( group ) ; for ( final Xml node : root . getChildren ( NODE_COLLISION ) ) { if ( node . readString ( ATT_GROUP ) . equals ( group ) ) { return true ; } } return false ; }
Check if node has group node .