code: @Override
      public boolean isReusableWith(DTDSubset intSubset)
      {
          Set<String> refdPEs = mRefdPEs;
  
          if (refdPEs != null && refdPEs.size() > 0) {
              HashMap<String,EntityDecl> intPEs = intSubset.getParameterEntityMap();
              if (intPEs != null && intPEs.size() > 0) {
                  if (DataUtil.anyValuesInCommon(refdPEs, intPEs.keySet())) {
                      return false;
                  }
              }
          }
          Set<String> refdGEs = mRefdGEs;
  
          if (refdGEs != null && refdGEs.size() > 0) {
              HashMap<String,EntityDecl> intGEs = intSubset.getGeneralEntityMap();
              if (intGEs != null && intGEs.size() > 0) {
                  if (DataUtil.anyValuesInCommon(refdGEs, intGEs.keySet())) {
                      return false;
                  }
              }
          }
          return true; // yep, no dependencies overridden
      }
docs: Method used in determining whether cached external subset instance
  can be used with specified internal subset. If ext. subset references
  any parameter/general entities int subset (re-)defines, it can not;
  otherwise it can be used.
  
  @return True if this (external) subset refers to a parameter entity
  defined in passed-in internal subset.