jodd-decora/src/main/java/jodd/decora/parser/DecoraTag.java
public boolean isMatchedTag(final Tag tag) {
		if (!tag.nameEquals(name)) {
			return false;
		}
		if (id != null) {
			CharSequence tagId = tag.getId();

			if (tagId == null) {
				return false;
			}

			if (!CharSequenceUtil.equals(id, tagId)) {
				return false;
			}
		}
		return true;
	}
public boolean isMatchedTag(final Tag tag) {
		if (!tag.nameEquals(name)) {
			return false;
		}
		if (id != null) {
			CharSequence tagId = tag.getId();

			if (tagId == null) {
				return false;
			}

			if (!CharSequenceUtil.equals(id, tagId)) {
				return false;
			}
		}
		return true;
	}
Returns <code>true</code> if provided tag
matches decorator tag.