var xml:XML = XML("123"); trace(xml.hasSimpleContent()); xml = XML("<content>123</content>"); trace(xml.hasSimpleContent());