return CheckContainer(GetResourceFor(aIndex), aResult, nsnull);
nsOutlinerRows::iterator iter = mRows[aIndex];  if (iter->mContainerType == nsOutlinerRows::eContainerType_Unknown) { PRBool isContainer; CheckContainer(GetResourceFor(aIndex), &isContainer, nsnull);  iter->mContainerType = isContainer ? nsOutlinerRows::eContainerType_Container : nsOutlinerRows::eContainerType_Noncontainer; }  *aResult = (iter->mContainerType == nsOutlinerRows::eContainerType_Container); return NS_OK;
nsXULOutlinerBuilder::IsContainer(PRInt32 aIndex, PRBool* aResult){    NS_PRECONDITION(aIndex >= 0 && aIndex < mRows.Count(), "bad row");    if (aIndex < 0 || aIndex >= mRows.Count())        return NS_ERROR_INVALID_ARG;    return CheckContainer(GetResourceFor(aIndex), aResult, nsnull);}