private static boolean hasSubTags(Object obj, Class<?> objClass) throws XMLStreamException {
		for (Field field : Introspection.getFieldsWithAnnotation(objClass, XmlTag.class, true)) {
			try {
				Introspection.makeFieldAccessible(field);
				Object content = field.get(obj);
				if (content != null) {
					if (Collection.class.isAssignableFrom(field.getType())) {
						if (!((Collection<?>) content).isEmpty()) {
							return true;
						}
					} else {
						return true;
					}
				}
			} catch (Exception exception) {
				throw new XMLStreamException(exception);
			}
		}
		return false;
	}