code: public boolean isRecursiveAttrSet(ElemAttributeSet attrSet)
    {
  
      if (null == m_attrSetStack)
      {
        m_attrSetStack = new Stack();
      }
  
      if (!m_attrSetStack.empty())
      {
        int loc = m_attrSetStack.search(attrSet);
  
        if (loc > -1)
        {
          return true;
        }
      }
  
      return false;
    }
docs: Check to see if this is a recursive attribute definition.
  
  @param attrSet A non-null ElemAttributeSet reference.
  
  @return true if the attribute set is recursive.