src/main/java/org/jboss/util/xml/JBossEntityResolver.java
public boolean isEntityResolved()
   {
       Boolean value = entityResolved.get();
       return value != null ? value.booleanValue() : false;
   }
public boolean isEntityResolved()
   {
       Boolean value = entityResolved.get();
       return value != null ? value.booleanValue() : false;
   }
Returns the boolean value to inform id DTD was found in the XML file or not

@return boolean - true if DTD was found in XML