boolean () { Enumeration<?> enumeration = children(); while (enumeration.hasMoreElements()) { Object element = enumeration.nextElement(); if (element instanceof Node && ((Node)element).isReadOnly()) return true; } return false; }