public static boolean hasSisterTagWithSameName(Tag tag) {
Body body=(Body) tag.getParent();
List<Statement> stats = body.getStatements();
Iterator<Statement> it = stats.iterator();
Statement other;
String name=tag.getTagLibTag().getName();
while(it.hasNext()) {
other=it.next();
if(other != tag && other instanceof Tag && ((Tag) other).getTagLibTag().getName().equals(name))