question: private static boolean hasRestrictions ( Element restrictionNode ) { for ( int i = 0 ; i < restrictionNode . getChildCount ( ) ; i ++ ) { if ( restrictionNode . isText ( i ) ) continue ; return true ; } return false ; }
target:  Checks if a restriction node has enumeration restrictions.